Mercurial > pidgin.yaz
changeset 9265:6a1f2c444ee7
[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 <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Fri, 11 Jun 2004 03:58:48 +0000 |
parents | cea7eba5f494 |
children | 8944de615a72 |
files | configure.ac src/protocols/gg/common.c src/protocols/gg/libgg.c src/protocols/gg/libgg.h |
diffstat | 4 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 <wojtekka@irc.pl>, @@ -42,8 +42,8 @@ #ifdef sun #include <sys/filio.h> #endif +#include "config.h" #include "libgg.h" -#include "config.h" #include <glib.h> #ifdef _WIN32
--- 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 <wojtekka@irc.pl>, @@ -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
--- 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 <wojtekka@irc.pl>, @@ -29,6 +29,9 @@ #define INADDR_NONE 0xffffffff #endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <sys/types.h> /*