# HG changeset patch # User Stu Tomlinson # Date 1247195671 0 # Node ID 91b8a957776a166a61fac8cbee5aeb8e25b5fd19 # Parent 60d128c6413a2715d2e68b1d11b15e91b24a25bf HAVE_CONFIG_H is not defined when building the perl plugin, so work around that diff -r 60d128c6413a -r 91b8a957776a libpurple/internal.h --- a/libpurple/internal.h Fri Jul 10 02:53:17 2009 +0000 +++ b/libpurple/internal.h Fri Jul 10 03:14:31 2009 +0000 @@ -230,6 +230,7 @@ # endif #endif +#ifdef HAVE_CONFIG_H #if SIZEOF_TIME_T == 4 # define PURPLE_TIME_T_MODIFIER "lu" #elif SIZEOF_TIME_T == 8 @@ -237,6 +238,7 @@ #else #error Unknown size of time_t #endif +#endif #include