diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-10-15 03:40:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-10-15 03:40:44 +0200 |
commit | dd2605850deb7bff8faeb661fdf1035cdb11dad0 (patch) | |
tree | 96d8c32a1088a1f8a8042167a64f9abbb4777db5 | |
parent | 81d74c9df801174012a2fb7aebc8569db85faf0c (diff) |
Fixes for old MacOS X
Change a few things a suggested in to make things work out-of-the-box on
old MacOS X.
https://bugzilla.gnome.org/show_bug.cgi?id=580301
http://bugzilla-attachments.gnome.org/attachment.cgi?id=133452
-rw-r--r-- | libasyncns/asyncns.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c index 0161400..3fa8b49 100644 --- a/libasyncns/asyncns.c +++ b/libasyncns/asyncns.c @@ -40,10 +40,9 @@ #include <arpa/nameser.h> #include <resolv.h> #include <dirent.h> - -#if HAVE_ARPA_NAMESER_COMPAT_H -#include <arpa/nameser_compat.h> -#endif +#include <sys/time.h> +#include <sys/resource.h> +#include <stdint.h> #ifdef HAVE_SYS_PRCTL_H #include <sys/prctl.h> |