diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-21 23:33:29 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-21 23:33:29 +0000 |
commit | acbd270e3706b8ce260cef6056454ed1f75fd4b1 (patch) | |
tree | d2298d38a2ade87aad66c6c1bd14e5fdb724b951 /libc/unistd/getopt.c | |
parent | 80912f34883fb01c3a75db92821c9dc3d86ad322 (diff) |
include headers only if the related option is enabled
Diffstat (limited to 'libc/unistd/getopt.c')
-rw-r--r-- | libc/unistd/getopt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c index 504f3764c..0dc0e0509 100644 --- a/libc/unistd/getopt.c +++ b/libc/unistd/getopt.c @@ -26,10 +26,13 @@ * Modified once again for uClibc by Erik Andersen 8/7/02 */ +#include <features.h> #include <stdio.h> #include <string.h> #include <stdlib.h> +#ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__ #include <libintl.h> +#endif #ifdef __UCLIBC_MJN3_ONLY__ #warning TODO: Enable gettext awareness. |