# HG changeset patch # User Ethan Blanton # Date 1086926328 0 # Node ID 6a1f2c444ee7f2cba7146bd8a5a012a5e31a9029 # Parent cea7eba5f49438a4cb7c8e34e368936e73b2f3f8 [gaim-migrate @ 10064] Apparently stdint.h is required on OS X. This now looks to see if stdint.h exists. and includes it only if it does. If this doesn't fix whatever platform was broken (KingAnt, what was that?), we'll look for another solution. committer: Tailor Script diff -r cea7eba5f494 -r 6a1f2c444ee7 configure.ac --- a/configure.ac Fri Jun 11 00:23:13 2004 +0000 +++ b/configure.ac Fri Jun 11 03:58:48 2004 +0000 @@ -43,7 +43,7 @@ dnl Checks for header files. AC_HEADER_STDC AC_HEADER_SYS_WAIT -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h locale.h signal.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h) dnl Check for SILC includes AC_ARG_WITH(silc-includes, [ --with-silc-includes=DIR diff -r cea7eba5f494 -r 6a1f2c444ee7 src/protocols/gg/common.c --- a/src/protocols/gg/common.c Fri Jun 11 00:23:13 2004 +0000 +++ b/src/protocols/gg/common.c Fri Jun 11 03:58:48 2004 +0000 @@ -1,4 +1,4 @@ -/* $Id: common.c 9665 2004-05-06 22:38:01Z thekingant $ */ +/* $Id: common.c 10064 2004-06-11 03:58:48Z eblanton $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -42,8 +42,8 @@ #ifdef sun #include #endif +#include "config.h" #include "libgg.h" -#include "config.h" #include #ifdef _WIN32 diff -r cea7eba5f494 -r 6a1f2c444ee7 src/protocols/gg/libgg.c --- a/src/protocols/gg/libgg.c Fri Jun 11 00:23:13 2004 +0000 +++ b/src/protocols/gg/libgg.c Fri Jun 11 03:58:48 2004 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.c 9537 2004-04-23 17:24:19Z lschiere $ */ +/* $Id: libgg.c 10064 2004-06-11 03:58:48Z eblanton $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -49,9 +49,9 @@ #if G_BYTE_ORDER == G_BIG_ENDIAN # define WORDS_BIGENDIAN 1 #endif +#include "internal.h" #include "libgg.h" -#include "internal.h" #include "proxy.h" #include "debug.h" @@ -73,7 +73,7 @@ #ifdef __GNUC__ __attribute__ ((unused)) #endif -= "$Id: libgg.c 9537 2004-04-23 17:24:19Z lschiere $"; += "$Id: libgg.c 10064 2004-06-11 03:58:48Z eblanton $"; #endif diff -r cea7eba5f494 -r 6a1f2c444ee7 src/protocols/gg/libgg.h --- a/src/protocols/gg/libgg.h Fri Jun 11 00:23:13 2004 +0000 +++ b/src/protocols/gg/libgg.h Fri Jun 11 03:58:48 2004 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.h 10052 2004-06-10 02:15:16Z thekingant $ */ +/* $Id: libgg.h 10064 2004-06-11 03:58:48Z eblanton $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -29,6 +29,9 @@ #define INADDR_NONE 0xffffffff #endif +#ifdef HAVE_STDINT_H +# include +#endif #include /*