Whamcloud - gitweb
Branch b1_x
authoradilger <adilger>
Thu, 28 May 2009 17:23:50 +0000 (17:23 +0000)
committeradilger <adilger>
Thu, 28 May 2009 17:23:50 +0000 (17:23 +0000)
Fix compile warning due to missing prototype.
b=19695
i=johann

lnet/utils/wirecheck.c

index 6afd4dc..46f0035 100644 (file)
  * Lustre is a trademark of Sun Microsystems, Inc.
  */
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE     /* for strnlen() in string.h */
+#endif
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/wait.h>