$OpenBSD: patch-digikam_libs_greycstoration_CImg_h,v 1.2 2008/01/05 21:56:35 espie Exp $
--- digikam/libs/greycstoration/CImg.h.orig	Sat Dec 22 18:19:47 2007
+++ digikam/libs/greycstoration/CImg.h	Sat Jan  5 12:46:39 2008
@@ -116,6 +116,7 @@
 #if cimg_OS==1
 #include <sys/time.h>
 #include <unistd.h>
+#include <pthread.h>
 #elif cimg_OS==2
 #include <windows.h>
 #ifndef _WIN32_IE
@@ -150,7 +151,6 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/keysym.h>
-#include <pthread.h>
 #ifdef cimg_use_xshm
 #include <sys/ipc.h>
 #include <sys/shm.h>
