src/getopt.c: include "system.h" to get correct definition of _ macro -

the test here depends on HAVE_LIBINTL_H, which is not set
	by configure
This change makes bison use the internationalized catalogs even for
messages in getopt.c. Bug report submitted to bug-bison@gnu.org.
This commit is contained in:
jdolecek 2000-02-03 18:45:37 +00:00
parent c0cfc85bfd
commit 4a1f68a379

View file

@ -0,0 +1,11 @@
--- src/getopt.c.orig Thu Feb 3 19:23:10 2000
+++ src/getopt.c Thu Feb 3 19:23:25 2000
@@ -79,6 +79,8 @@
# endif
#endif
+#include "system.h"
+
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */