summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 01:28:16 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 01:28:16 +0000
commitafa5bf6803f3716140291bc9f9c65fcada5862c4 (patch)
tree8d8ee8024611f4e539ea6d906c185e6f8030fd8c /libc/sysdeps/linux/common/bits
parentf6677b70e1e6379e09122ed1c705814173b83a53 (diff)
as psm points out, we need to use bits/getopt.h in unistd.h since getopt.h wont exist if user disables the option
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/getopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/getopt.h b/libc/sysdeps/linux/common/bits/getopt.h
index 4a60e103e..a192c039b 100644
--- a/libc/sysdeps/linux/common/bits/getopt.h
+++ b/libc/sysdeps/linux/common/bits/getopt.h
@@ -20,6 +20,8 @@
#ifndef _GETOPT_H
+#include <features.h>
+
#ifndef __need_getopt
# define _GETOPT_H 1
#endif