summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-16 00:14:14 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-16 00:14:14 +0000
commite66e10af19f3975ce28727be05016a319b488bd0 (patch)
tree0f1ba0c1684e82b48eec4ecaa290f331219a96b0 /src/common.h
parent0d62878d6ec1a3f07f31c2212bd3608bfc602cab (diff)
downloadirssi-e66e10af19f3975ce28727be05016a319b488bd0.zip
Check if libtool creates libraries in .libs dir. Check if -lgmodule
doesn't work. #include "../config.h" instead of <config.h>, this should fix problems when config.h is found in some -I dir. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1125 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 7b8ddba2..e5b8d6c6 100644
--- a/src/common.h
+++ b/src/common.h
@@ -5,7 +5,7 @@
#define IRSSI_WEBSITE "http://irssi.org"
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "../config.h"
#endif
#include <stdio.h>
@@ -39,7 +39,9 @@
#endif
#include <glib.h>
-#include <gmodule.h>
+#ifdef HAVE_GMODULE
+# include <gmodule.h>
+#endif
#include "core/memdebug.h"
#include "nls.h"