]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a gcc warning.
authorBruno Haible <bruno@clisp.org>
Mon, 12 Jan 2004 11:16:30 +0000 (11:16 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:37 +0000 (12:11 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/testlocale.c

index 478a4f4462271288f04001bf5262c1a865970362..e943097aee4b5207ecb1c4605a7dcd54eca991cc 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-29  Bruno Haible  <bruno@clisp.org>
+
+       * testlocale.c: Include stdlib.h.
+
 2003-12-29  Bruno Haible  <bruno@clisp.org>
 
        * xgettext-c-9: Add a test with a multi-part string with newlines and
index c2f814f036c424470ee080263ec54242db83285f..1812982b9aac79ad44575db05c369878414595e8 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <locale.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 /* This must match intl/localename.c.  */
 #if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2)