[win32] - include time.h through win32_compat.h for getting rid of undefined symbol...
authorMemphiz <memphis@machzwo.de>
Wed, 29 May 2013 08:27:31 +0000 (10:27 +0200)
committerMemphiz <memphis@machzwo.de>
Wed, 29 May 2013 16:41:23 +0000 (18:41 +0200)
win32/win32_compat.c
win32/win32_compat.h

index 87f9ab1a189c7a5bd27c1b323bf4f54f521f26a4..738da9d16a3ce8365ecc156d2f62942a68bfb8f6 100644 (file)
@@ -29,7 +29,6 @@ static int dummy ATTRIBUTE((unused));
 #include "win32_compat.h"
 #include <errno.h>
 #include <stdio.h>
-#include <time.h>
 
 #undef poll
 #undef socket
index 71f10bd735b6e33363cad804f7b8e779cb846c09..67e44e48fccad69b511167edf6496c13787c2a00 100644 (file)
@@ -32,6 +32,7 @@ THE SOFTWARE.
 #include <basetsd.h>
 #include <io.h>
 #include <sys/stat.h>
+#include <time.h>
 
 typedef int uid_t;
 typedef int gid_t;