X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/539ae551cfe2812d481f57db7e0abbd9bb056ea5..b41b09e28513f8b30065914eeb1051a0a32e6e1b:/src/unix/gsocket.cpp diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 1ea7b594e5..63bed5a32f 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -299,7 +299,7 @@ struct hostent * wxGethostbyaddr_r(const char *addr_buf, int buf_size, return he; } -#if defined(HAVE_GETHOSTBYNAME) +#if defined(HAVE_GETSERVBYNAME) static struct servent * deepCopyServent(struct servent *s, const struct servent *se, char *buffer, int size)