From: adilger Date: Thu, 28 May 2009 17:23:50 +0000 (+0000) Subject: Branch b1_x X-Git-Tag: v1_8_2_01~1^5~33 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=64c4be6936565f0d4afa882160e610acc577c15a;p=fs%2Flustre-release.git Branch b1_x Fix compile warning due to missing prototype. b=19695 i=johann --- 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