summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-01-11 00:24:30 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-01-11 00:24:30 +0000
commitb687ace2b11169e2c4dd864152794a086486315d (patch)
tree4267cdd0a6a9e4ad859696316b2841a2ac33113f /src/fe-text/irssi.c
parent842a51c76039bc5c65c6a19999c7fd06edc4d827 (diff)
downloadirssi-b687ace2b11169e2c4dd864152794a086486315d.zip
Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index d0bbbc99..b2a5e955 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -309,8 +309,12 @@ static void winsock_init(void)
}
#endif
-#ifdef HAVE_GC
-#include <gc/gc.h>
+#if defined (HAVE_GC_H) || defined (HAVE_GC_GC_H)
+#ifdef HAVE_GC_H
+# include <gc.h>
+#else
+# include <gc/gc.h>
+#endif
GMemVTable gc_mem_table = {
GC_malloc,
GC_realloc,