diff --git a/include/re_net.h b/include/re_net.h index 62a2391..04d87f3 100644 --- a/include/re_net.h +++ b/include/re_net.h @@ -17,13 +17,6 @@ #endif -#ifndef HAVE_GAI_STRERROR -/** stub */ -#ifndef gai_strerror -#define gai_strerror(err) "?" -#endif -#endif - /** Length of IPv4 address string */ #ifndef INET_ADDRSTRLEN #define INET_ADDRSTRLEN 16 diff --git a/mk/re.mk b/mk/re.mk index efb35c9..3347945 100644 --- a/mk/re.mk +++ b/mk/re.mk @@ -594,7 +594,6 @@ endif CFLAGS += -DHAVE_UNAME CFLAGS += -DHAVE_UNISTD_H CFLAGS += -DHAVE_STRINGS_H -CFLAGS += -DHAVE_GAI_STRERROR endif ifneq ($(HAVE_ARC4RANDOM),)