From 0e4c4d11086a2f00998b0426bffd25a6b1495101 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 27 Feb 2006 15:09:48 +0000 Subject: Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getopt --- libc/sysdeps/linux/common/bits/getopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps') 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, -- cgit v1.2.3