From 385cd28a7d552e0f2e3b316dc275f8ba1decdd9a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 9 Nov 2007 13:43:36 +0000 Subject: [PATCH] Wrap _BSD_SOURCE in a __linux__ define. --- socket.c | 2 ++ 1 file changed, 2 insertions(+) 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