From: Dan Winship Date: Thu, 30 Jul 2009 02:35:07 +0000 (-0400) Subject: Conditionalize portability #includes in g-asyncns.h X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=f34b1f024feb57e6eb78728d46ff2bbf2ca19453;p=dana%2Fcg-glib.git Conditionalize portability #includes in g-asyncns.h http://bugzilla.gnome.org/show_bug.cgi?id=589988 --- diff --git a/gio/libasyncns/g-asyncns.h b/gio/libasyncns/g-asyncns.h index 2df5fcce..86013442 100644 --- 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 +#endif +#ifdef HAVE_STDINT_H #include +#endif /* Some BSDs require this for getrlimit */ +#ifdef HAVE_SYS_RESOURCE_H #include +#endif #include "asyncns.h"