projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from texinfo
[gnulib.git]
/
lib
/
getopt1.c
diff --git
a/lib/getopt1.c
b/lib/getopt1.c
index
22a7efb
..
ad06cc7
100644
(file)
--- a/
lib/getopt1.c
+++ b/
lib/getopt1.c
@@
-22,7
+22,11
@@
#include <config.h>
#endif
#include <config.h>
#endif
-#include "getopt.h"
+#ifdef _LIBC
+# include <getopt.h>
+#else
+# include "getopt.h"
+#endif
#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
@@
-90,6
+94,10
@@
getopt_long_only (argc, argv, options, long_options, opt_index)
return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
}
return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
}
+# ifdef _LIBC
+libc_hidden_def (getopt_long)
+libc_hidden_def (getopt_long_only)
+# endif
#endif /* Not ELIDE_CODE. */
\f
#endif /* Not ELIDE_CODE. */
\f