aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'expand.cpp')
-rw-r--r--expand.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/expand.cpp b/expand.cpp
index 74e50102..6dfa9e44 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -18,7 +18,9 @@ parameter expansion.
#include <limits.h>
#include <sys/param.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
+#endif
#include <termios.h>
#include <dirent.h>
#include <sys/stat.h>