Conditionalize portability #includes in g-asyncns.h

http://bugzilla.gnome.org/show_bug.cgi?id=589988
This commit is contained in:
Dan Winship 2009-07-29 22:35:07 -04:00
parent 81de534cf7
commit f34b1f024f

View File

@ -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"