1a8a092d9f
While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight
17 lines
341 B
C
17 lines
341 B
C
Index: libgai/unp.h
|
|
--- libgai/unp.h.orig 1997-09-14 19:49:59 UTC
|
|
+++ libgai/unp.h
|
|
@@ -58,6 +58,13 @@
|
|
# include <pthread.h>
|
|
#endif
|
|
|
|
+#ifndef EAI_ADDRFAMILY
|
|
+#define EAI_ADDRFAMILY 1
|
|
+#endif
|
|
+#ifndef EAI_NODATA
|
|
+#define EAI_NODATA 7
|
|
+#endif
|
|
+
|
|
/* OSF/1 actually disables recv() and send() in <sys/socket.h> */
|
|
#ifdef __osf__
|
|
#undef recv
|