im.pidgin.pidgin: b34f869920c414888db1b413a41f05783bf4e0da

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri Feb 29 08:50:37 EST 2008


-----------------------------------------------------------------
Revision: b34f869920c414888db1b413a41f05783bf4e0da
Ancestor: 95ab56f2dadcb1054ee68238b3f9b46eb90e38c6
Author: nosnilmot at pidgin.im
Date: 2008-02-29T13:45:05
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b34f869920c414888db1b413a41f05783bf4e0da

Modified files:
        finch/libgnt/gntwm.c

ChangeLog: 

Fix building with glib < 2.6

-------------- next part --------------
============================================================
--- finch/libgnt/gntwm.c	1a222db57363aa4f950612f2b005dc22665a112f
+++ finch/libgnt/gntwm.c	6e1623a36db652b8fd0af9796784423cd8bc3dc2
@@ -32,7 +32,14 @@
 #endif
 
 #include <glib.h>
-#include <glib/gstdio.h>
+#if GLIB_CHECK_VERSION(2,6,0)
+#	include <glib/gstdio.h>
+#else
+#	include <sys/types.h>
+#	include <sys/stat.h>
+#	include <fcntl.h>
+#	define g_fopen open
+#endif
 #include <ctype.h>
 #include <gmodule.h>
 #include <stdlib.h>


More information about the Commits mailing list