summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:09:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:09:48 +0000
commit0e4c4d11086a2f00998b0426bffd25a6b1495101 (patch)
tree1b2a42bc68f12c698ba2403a99e4e2ad1d942fed /libc/sysdeps/linux/common/bits
parentcc7fbc32612c169253c073f2ad617a358862e502 (diff)
Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getopt
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/getopt.h b/libc/sysdeps/linux/common/bits/getopt.h
index 6d1ebcf13..a28d0a40b 100644
--- a/libc/sysdeps/linux/common/bits/getopt.h
+++ b/libc/sysdeps/linux/common/bits/getopt.h
@@ -157,7 +157,7 @@ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
extern int getopt ();
#endif /* __GNU_LIBRARY__ */
-#ifdef __UCLIBC_HAS_GNU_GETOPT__
+#if defined __UCLIBC_HAS_GNU_GETOPT__ || defined __UCLIBC_HAS_GETOPT_LONG__
#ifndef __need_getopt
extern int getopt_long (int ___argc, char *const *___argv,
const char *__shortopts,