summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/util.c')
-rw-r--r--Utilities/cmtar/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmtar/util.c b/Utilities/cmtar/util.c
index 31f7fc8..0e23a05 100644
--- a/Utilities/cmtar/util.c
+++ b/Utilities/cmtar/util.c
@@ -23,7 +23,9 @@
#if defined(_WIN32) && !defined(__CYGWIN__)
#include <direct.h>
#else
-#include <sys/param.h>
+# ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+# endif
#endif
/* hashing function for pathnames */