projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45736d3
)
tests: don't #include <sys/resource.h> on win32
author
Ryan Lortie
<desrt@desrt.ca>
Thu, 13 Oct 2011 03:25:12 +0000
(23:25 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 13 Oct 2011 03:25:12 +0000
(23:25 -0400)
glib/tests/thread.c
patch
|
blob
|
history
diff --git
a/glib/tests/thread.c
b/glib/tests/thread.c
index
fe2aca0
..
0b83bdf
100644
(file)
--- a/
glib/tests/thread.c
+++ b/
glib/tests/thread.c
@@
-23,12
+23,15
@@
#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)
{