summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/append.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/append.c')
-rw-r--r--Utilities/cmtar/append.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmtar/append.c b/Utilities/cmtar/append.c
index 38e8294..14c7362 100644
--- a/Utilities/cmtar/append.c
+++ b/Utilities/cmtar/append.c
@@ -18,7 +18,9 @@
#if defined(_WIN32) && !defined(__CYGWIN__)
# include <libtar/compat.h>
#else
-# include <sys/param.h>
+# ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+# endif
#endif
#include <libtar/compat.h>
#include <sys/types.h>