From: Roy Marples Date: Fri, 9 Nov 2007 13:43:36 +0000 (+0000) Subject: Wrap _BSD_SOURCE in a __linux__ define. X-Git-Tag: v3.2.3~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385cd28a7d552e0f2e3b316dc275f8ba1decdd9a;p=thirdparty%2Fdhcpcd.git Wrap _BSD_SOURCE in a __linux__ define. --- diff --git a/socket.c b/socket.c index 3c8a3321..a769a440 100644 --- a/socket.c +++ b/socket.c @@ -5,7 +5,9 @@ * Distributed under the terms of the GNU General Public License v2 */ +#ifdef __linux__ #define _BSD_SOURCE +#endif #include #include