changeset 13406:afddde84348b

test-inttostr.c: include <string.h> for use of strcmp * tests/test-inttostr.c: Include <string.h> for strcmp declaration.
author Jim Meyering <meyering@redhat.com>
date Fri, 11 Jun 2010 09:08:47 +0200
parents e7645f87b96f
children 97b8c45f787e
files ChangeLog tests/test-inttostr.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-06-11  Jim Meyering  <meyering@redhat.com>
 
+	test-inttostr.c: include <string.h> for use of strcmp
+	* tests/test-inttostr.c: Include <string.h> for strcmp declaration.
+
 	test-linkat: avoid failed assertion on "other" architectures
 	* tests/test-linkat.c: Include <sys/stat.h>, for declarations of stat,
 	lstat, mkdir.  Patch by John Rigby, to fix FTBFS on armel, powerpc,
--- a/tests/test-inttostr.c
+++ b/tests/test-inttostr.c
@@ -23,6 +23,7 @@
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <assert.h>
 
 #define STREQ(a, b) (strcmp (a, b) == 0)