--- irssi-0.8.10-rc5/src/core/misc.h.orig 2004-03-23 23:10:02.000000000 +0100 +++ irssi-0.8.10-rc5/src/core/misc.h 2005-03-01 20:23:20.306008696 +0100 @@ -1,6 +1,10 @@ #ifndef __MISC_H #define __MISC_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* `str' should be type char[MAX_INT_STRLEN] */ #define ltoa(str, num) \ g_snprintf(str, sizeof(str), "%d", num) --- irssi-0.8.10-rc5/src/perl/module.h.orig 2001-12-14 02:54:12.000000000 +0100 +++ irssi-0.8.10-rc5/src/perl/module.h 2005-03-01 20:23:50.545411608 +0100 @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef NEED_PERL_H # include # ifndef _SEM_SEMUN_UNDEFINED