mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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
|
||||
* 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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user