mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Conditionalize portability #includes in g-asyncns.h
http://bugzilla.gnome.org/show_bug.cgi?id=589988
This commit is contained in:
parent
81de534cf7
commit
f34b1f024f
@ -28,11 +28,17 @@
|
|||||||
/* For old OS X, #580301. Remove if these are added to asyncns.c
|
/* For old OS X, #580301. Remove if these are added to asyncns.c
|
||||||
* in the future.
|
* in the future.
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Some BSDs require this for getrlimit */
|
/* Some BSDs require this for getrlimit */
|
||||||
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "asyncns.h"
|
#include "asyncns.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user