summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/extract.c')
-rw-r--r--Utilities/cmtar/extract.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmtar/extract.c b/Utilities/cmtar/extract.c
index 925f621..a584a8f 100644
--- a/Utilities/cmtar/extract.c
+++ b/Utilities/cmtar/extract.c
@@ -28,7 +28,9 @@
# include <direct.h>
#else
# include <utime.h>
-# include <sys/param.h>
+# ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+# endif
#endif
#ifdef STDC_HEADERS