# HG changeset patch # User Daniel Atallah # Date 1180123597 0 # Node ID 8c056932bcc2bd2078286caa250f59131ec66bbb # Parent ecf5bf6daa785193e951a789e41e5041efafd301 Don't include unistd.h if HAVE_UNISTD_H isn't defined. diff -r ecf5bf6daa78 -r 8c056932bcc2 config.h.mingw --- a/config.h.mingw Fri May 25 19:23:36 2007 +0000 +++ b/config.h.mingw Fri May 25 20:06:37 2007 +0000 @@ -306,7 +306,7 @@ /* #undef HAVE_TZNAME */ /* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 +/*#define HAVE_UNISTD_H 1*/ /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 diff -r ecf5bf6daa78 -r 8c056932bcc2 libpurple/prpl.h --- a/libpurple/prpl.h Fri May 25 19:23:36 2007 +0000 +++ b/libpurple/prpl.h Fri May 25 20:06:37 2007 +0000 @@ -54,7 +54,9 @@ */ #define NO_BUDDY_ICONS {NULL, 0, 0, 0, 0, 0, 0} +#ifdef HAVE_UNISTD_H #include +#endif #include "blist.h" #include "conversation.h"