summaryrefslogtreecommitdiff
path: root/net/libunp/files/patch-libgai_unp.h
blob: d7bf18fd0350fb3fffe39dac90342b48c7812f2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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