summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/libtar.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/libtar.c')
-rw-r--r--Utilities/cmtar/libtar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmtar/libtar.c b/Utilities/cmtar/libtar.c
index b509349..0d031b7 100644
--- a/Utilities/cmtar/libtar.c
+++ b/Utilities/cmtar/libtar.c
@@ -19,7 +19,9 @@
#include <libtar/compat.h>
#include <io.h>
#else
-#include <sys/param.h>
+# ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+# endif
#endif
#ifdef STDC_HEADERS