diff options
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index 6faf4aaf..754c8e11 100644 --- a/src/debug.c +++ b/src/debug.c @@ -26,7 +26,9 @@ #include <stdlib.h> #include <string.h> #include <stdarg.h> -#include <unistd.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif #include <ctype.h> #include <errno.h> #include <time.h> |