diff --git a/ext/socket/getnameinfo.c b/ext/socket/getnameinfo.c index 3ee83eb2a0..d1d5ff6c73 100644 --- a/ext/socket/getnameinfo.c +++ b/ext/socket/getnameinfo.c @@ -114,9 +114,6 @@ static struct afd { #define ENI_FAMILY 5 #define ENI_SALEN 6 -#ifdef __HAIKU__ -#define HAVE_INET_NTOP -#endif #ifndef HAVE_INET_NTOP static const char * inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len) diff --git a/ext/socket/option.c b/ext/socket/option.c index e58d51850c..2f5142d062 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -433,9 +433,6 @@ inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret) * it is not distinguishable by the size. */ -#ifdef __HAIKU__ -#define HAVE_INET_NTOP -#endif #ifndef HAVE_INET_NTOP static char * inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)