summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getopt_.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/getopt_.h b/lib/getopt_.h
index a4e78cb06..0cf7b8ad3 100644
--- a/lib/getopt_.h
+++ b/lib/getopt_.h
@@ -34,9 +34,7 @@
#if defined __GETOPT_PREFIX && !defined __need_getopt
# include <stdlib.h>
# include <stdio.h>
-# if HAVE_UNISTD_H
-# include <unistd.h>
-# endif
+# include <unistd.h>
# undef __need_getopt
# undef getopt
# undef getopt_long