diff options
Diffstat (limited to 'libsoup/soup-socket-unix.c')
-rw-r--r-- | libsoup/soup-socket-unix.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libsoup/soup-socket-unix.c b/libsoup/soup-socket-unix.c index a46fecc8..c5dd86ba 100644 --- a/libsoup/soup-socket-unix.c +++ b/libsoup/soup-socket-unix.c @@ -36,7 +36,6 @@ #include "soup-socket.h" #include <netdb.h> -#include <resolv.h> #include <unistd.h> #include <arpa/inet.h> #include <arpa/nameser.h> @@ -69,6 +68,11 @@ # endif #endif +/* this generally causes problems, so remove from build atm */ +#ifdef SOUP_PTRACE_ATTACH +#undef SOUP_PTRACE_ATTACH +#endif + #ifndef socklen_t #define socklen_t size_t #endif @@ -192,7 +196,7 @@ soup_gethostbyname(const char* hostname, g_free(buf); } #else -#ifdef HAVE_GET_HOSTBYNAME_R_SOLARIS +#ifdef HAVE_GETHOSTBYNAME_R_SOLARIS { struct hostent result; size_t len; @@ -348,7 +352,7 @@ soup_gethostbyaddr (const char* addr, size_t length, int type) g_free(buf); } #else -#ifdef HAVE_GET_HOSTBYNAME_R_SOLARIS +#ifdef HAVE_GETHOSTBYNAME_R_SOLARIS { struct hostent result; size_t len; |