mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
Misc networking build fixes
http://bugzilla.gnome.org/show_bug.cgi?id=580301 http://bugzilla.gnome.org/show_bug.cgi?id=584176
This commit is contained in:
@@ -21,8 +21,25 @@
|
||||
#include "config.h"
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
/* We want to build the fork-based version, not the threaded version. */
|
||||
#undef HAVE_PTHREAD
|
||||
|
||||
/* libasyncns doesn't actually need this include, and it breaks
|
||||
* old OS X. #580301. Remove if asyncns.c stops including
|
||||
* <arpa/nameser_compat.h> in the future.
|
||||
*/
|
||||
#undef HAVE_ARPA_NAMESER_COMPAT_H
|
||||
|
||||
/* Also for old OS X, #580301. Remove if these are added to asyncns.c
|
||||
* in the future.
|
||||
*/
|
||||
#include <sys/time.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* Some BSDs require this for getrlimit */
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include "asyncns.h"
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user