changeset 14271:9e5c28c3b163

[gaim-migrate @ 16954] Newer versions of MinGW define "struct timezone" in <sys/time.h>, so we don't included it for wingaim (we don't use it anyway). committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 21 Aug 2006 17:13:16 +0000
parents 4c82afb76534
children 7635195195c0
files config.h.mingw libgaim/internal.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/config.h.mingw	Mon Aug 21 17:04:26 2006 +0000
+++ b/config.h.mingw	Mon Aug 21 17:13:16 2006 +0000
@@ -428,7 +428,7 @@
 #define HAVE_SYS_STAT_H 1
 
 /* Define to 1 if you have the <sys/time.h> header file. */
-#define HAVE_SYS_TIME_H 1
+/* #undef HAVE_SYS_TIME_H */
 
 /* Define to 1 if you have the <sys/types.h> header file. */
 #define HAVE_SYS_TYPES_H 1
@@ -550,9 +550,9 @@
 /* If using the C implementation of alloca, define if you know the
    direction of stack growth for your system; otherwise it will be
    automatically deduced at run-time.
-	STACK_DIRECTION > 0 => grows toward higher addresses
-	STACK_DIRECTION < 0 => grows toward lower addresses
-	STACK_DIRECTION = 0 => direction of growth unknown */
+    STACK_DIRECTION > 0 => grows toward higher addresses
+    STACK_DIRECTION < 0 => grows toward lower addresses
+    STACK_DIRECTION = 0 => direction of growth unknown */
 /* #undef STACK_DIRECTION */
 
 /* Loads static protocol plugin module initialization functions. */
--- a/libgaim/internal.h	Mon Aug 21 17:04:26 2006 +0000
+++ b/libgaim/internal.h	Mon Aug 21 17:13:16 2006 +0000
@@ -70,9 +70,9 @@
 #define BUF_LONG BUF_LEN * 2
 
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #ifndef _WIN32
+#include <sys/time.h>
 #include <sys/wait.h>
 #endif
 #include <ctype.h>