aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-16 16:16:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-16 16:16:29 +0000
commit457429b40448703bbc251698f71ed025ddd31ff5 (patch)
tree9d12fb25d04a95f7a8aeac952f4bd6ee000bdfbb /posix/getopt.c
parentc384499721592e8fe1228b2ce523873bd3808f97 (diff)
downloadglibc-457429b40448703bbc251698f71ed025ddd31ff5.zip
glibc-457429b40448703bbc251698f71ed025ddd31ff5.tar.gz
glibc-457429b40448703bbc251698f71ed025ddd31ff5.tar.bz2
Always include <libintl.h> for glibc.
Diffstat (limited to 'posix/getopt.c')
-rw-r--r--posix/getopt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/posix/getopt.c b/posix/getopt.c
index a6d2d04..c981553 100644
--- a/posix/getopt.c
+++ b/posix/getopt.c
@@ -77,9 +77,8 @@
#endif
#ifndef _
-/* This is for other GNU distributions with internationalized messages.
- When compiling libc, the _ macro is predefined. */
-# ifdef HAVE_LIBINTL_H
+/* This is for other GNU distributions with internationalized messages. */
+# if defined HAVE_LIBINTL_H || defined _LIBC
# include <libintl.h>
# define _(msgid) gettext (msgid)
# else