test-inttostr.c: include <string.h> for use of strcmp
authorJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 07:08:47 +0000 (09:08 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 07:08:47 +0000 (09:08 +0200)
* tests/test-inttostr.c: Include <string.h> for strcmp declaration.

ChangeLog
tests/test-inttostr.c

index cab8f6c..a8443e0 100644 (file)
--- 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,
index e8149e4..123aca4 100644 (file)
@@ -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)