commit 63be8cbf668f8dce8b3e68b39ea588eb038dc1dc
parent d06fc891a005e922f8b6de983c1384b2dbf37fb0
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 15 Feb 2009 07:33:13 +0000
better
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/thumbnail/thumbnailextractor.c b/src/plugins/thumbnail/thumbnailextractor.c
@@ -29,6 +29,7 @@
#include "platform.h"
#include "extractor.h"
+#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#define THUMBSIZE 128
@@ -38,7 +39,7 @@
void __attribute__ ((constructor)) ole_gobject_init (void)
{
g_type_init ();
-#if G_THREADS_ENABLED
+#ifdef G_THREADS_ENABLED
if (! g_thread_supported () )
g_thread_init (NULL);
#endif