From e33b797ffa137522d3bcf8af53a9fa3dd0d2f730 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 27 Dec 2009 03:51:38 +0000 Subject: following up on bug report #2921689, fixed a bunch of 'implicit declaration of function' warnings, which could cause problems on 64-bit svn path=/trunk/externals/ggee/; revision=12846 --- signal/streamin~.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'signal/streamin~.c') diff --git a/signal/streamin~.c b/signal/streamin~.c index 147b732..fcb8084 100644 --- a/signal/streamin~.c +++ b/signal/streamin~.c @@ -3,11 +3,14 @@ /* Thanks to Anthony Lee for Windows bug fixes */ #include +#include #include "stream.h" #include #include -#ifdef unix +#ifdef _WIN32 +#include +#else #include #include #include @@ -17,8 +20,6 @@ #include #include #define SOCKET_ERROR -1 -#else -#include #endif /* these pragmas are only used for MSVC, not MinGW or Cygwin */ -- cgit v1.2.1