diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-10-16 16:16:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-10-16 16:16:29 +0000 |
commit | 457429b40448703bbc251698f71ed025ddd31ff5 (patch) | |
tree | 9d12fb25d04a95f7a8aeac952f4bd6ee000bdfbb /posix/getopt.c | |
parent | c384499721592e8fe1228b2ce523873bd3808f97 (diff) | |
download | glibc-457429b40448703bbc251698f71ed025ddd31ff5.tar.gz glibc-457429b40448703bbc251698f71ed025ddd31ff5.tar.xz glibc-457429b40448703bbc251698f71ed025ddd31ff5.zip |
Always include <libintl.h> for glibc.
Diffstat (limited to 'posix/getopt.c')
-rw-r--r-- | posix/getopt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/posix/getopt.c b/posix/getopt.c index a6d2d042c7..c981553c57 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 |