Check for gc.h too

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-01-11 00:24:30 +00:00 committed by cras
commit b687ace2b1
4 changed files with 18 additions and 6 deletions

View file

@ -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,