From 162d5852cbb7881d8edae6648fbdc888d1cfe0c6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 3 Jan 2008 23:10:08 +0000 Subject: [PATCH] Always _BSD_SOURCE . Always _BSD_SOURCE regardless of GLIBC or not. Testing for __GLIBC__ after include of stdio.h was apparantly not enough --- ziffy/hooks.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ziffy/hooks.c b/ziffy/hooks.c index 936b927..54742aa 100644 --- a/ziffy/hooks.c +++ b/ziffy/hooks.c @@ -20,17 +20,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +#define _BSD_SOURCE -#if defined(__GLIBC__) -# if !defined(_BSD_SOURCE) -# define _BSD_SOURCE -# endif -#endif /* * Operating System include files */ +#include #include #include #include -- 1.7.10.4