Conditionally include sys/sysctl.h

This commit is contained in:
Ian Ray
2013-05-23 21:03:34 +03:00
committed by ridiculousfish
parent 9ca12e9f9d
commit b35a2d568a
2 changed files with 3 additions and 1 deletions

View File

@@ -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>