tests: don't #include <sys/resource.h> on win32
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 03:25:12 +0000 (23:25 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 03:25:12 +0000 (23:25 -0400)
glib/tests/thread.c

index fe2aca0..0b83bdf 100644 (file)
 #include <config.h>
 
 #include <sys/time.h>
-#include <sys/resource.h>
 #include <sys/types.h>
 #include <unistd.h>
 
 #include <glib.h>
 
+#ifndef G_OS_WIN32
+#include <sys/resource.h>
+#endif
+
 static gpointer
 thread1_func (gpointer data)
 {