From 64c4be6936565f0d4afa882160e610acc577c15a Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 28 May 2009 17:23:50 +0000 Subject: [PATCH] Branch b1_x Fix compile warning due to missing prototype. b=19695 i=johann --- lnet/utils/wirecheck.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lnet/utils/wirecheck.c b/lnet/utils/wirecheck.c index 6afd4dc..46f0035 100644 --- a/lnet/utils/wirecheck.c +++ b/lnet/utils/wirecheck.c @@ -34,6 +34,10 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* for strnlen() in string.h */ +#endif + #include #include #include -- 1.8.3.1