summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 11:56:49 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 11:56:49 +0000
commit25ef400404437158c31c2dcaa3ad3c9dbba7bd12 (patch)
treebe1d74891b4f50d17615e8c789600299bfd07048
parent06e5948dcebbb679049603a68622849aec3fde31 (diff)
downloadcoreutils-25ef400404437158c31c2dcaa3ad3c9dbba7bd12.tar.xz
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
-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