aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@rhonwyn>2005-11-28 23:04:50 +0100
committerJelmer Vernooij <jelmer@rhonwyn>2005-11-28 23:04:50 +0100
commited165fe64cd3d7b7c34c536019da3aed2b5e7541 (patch)
tree851f8ce377fb6e5229a4ac178ef7391a9bdedb1a
parentcfcc5877b737800ab84cd67d9c413e7254ac1f50 (diff)
parentf712188c6240cb6f77791b4f05e55b1a001d4037 (diff)
Merge required fix from integration
-rw-r--r--bitlbee.h2
-rwxr-xr-xconfigure2
2 files changed, 4 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 17083ff2..e4cc2868 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -34,7 +34,9 @@
#define MAX_STRING 128
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
#include <fcntl.h>
#include <time.h>
diff --git a/configure b/configure
index 365159f7..5d478010 100755
--- a/configure
+++ b/configure
@@ -123,6 +123,8 @@ fi
echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings
+echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
+
if [ -n "$CC" ]; then
echo "CC=$CC" >> Makefile.settings;
elif type gcc > /dev/null 2> /dev/null; then