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:
81de534
)
Conditionalize portability #includes in g-asyncns.h
author
Dan Winship
<danw@gnome.org>
Thu, 30 Jul 2009 02:35:07 +0000
(22:35 -0400)
committer
Dan Winship
<danw@gnome.org>
Thu, 30 Jul 2009 02:35:07 +0000
(22:35 -0400)
http://bugzilla.gnome.org/show_bug.cgi?id=589988
gio/libasyncns/g-asyncns.h
patch
|
blob
|
history
diff --git
a/gio/libasyncns/g-asyncns.h
b/gio/libasyncns/g-asyncns.h
index
2df5fcc
..
8601344
100644
(file)
--- a/
gio/libasyncns/g-asyncns.h
+++ b/
gio/libasyncns/g-asyncns.h
@@
-28,11
+28,17
@@
/* For old OS X, #580301. Remove if these are added to asyncns.c
* in the future.
*/
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
/* Some BSDs require this for getrlimit */
+#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
+#endif
#include "asyncns.h"