Don't include locale.h. gettext.h already includes all it needs.

This commit is contained in:
Bruno Haible 2002-11-05 17:02:28 +00:00
parent b5908a3eb0
commit 130ae67a97
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,6 @@
2002-11-05 Bruno Haible <bruno@clisp.org>
* argmatch.c: Include gettext.h instead of <libintl.h>.
* argmatch.c: Include gettext.h instead of <locale.h> and <libintl.h>.
* error.c [!_LIBC]: Include gettext.h instead of <libintl.h>.
* getopt.c [!_LIBC]: Include gettext.h instead of <libintl.h>.
* obstack.c [!_LIBC]: Include gettext.h instead of <libintl.h>.

View File

@ -25,8 +25,6 @@
# include <string.h>
#endif
#include <locale.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)