Mercurial > pidgin
diff libpurple/protocols/zephyr/internal.h @ 23172:047c56435f1e
When compiling against an external libzephyr, we need to use its zephyr.h,
not our zephyr.h. This came from Debian, but I simplified it:
http://bugs.debian.org/451165
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 25 May 2008 00:40:15 +0000 |
parents | 5fe8042783c1 |
children | 6187a40eea57 |
line wrap: on
line diff
--- a/libpurple/protocols/zephyr/internal.h Fri May 23 20:35:29 2008 +0000 +++ b/libpurple/protocols/zephyr/internal.h Sun May 25 00:40:15 2008 +0000 @@ -1,10 +1,14 @@ - #ifndef __INTERNAL_H__ #define __INTERNAL_H__ #include <sysdep.h> -#include <zephyr.h> +#ifdef LIBZEPHYR_EXT +#include <zephyr/zephyr.h> +#else +#include <zephyr_internal.h> +#endif + #ifndef WIN32 #include <netdb.h> #endif