diff options
Diffstat (limited to 'net/libunp/files/patch-libgai_unp.h')
-rw-r--r-- | net/libunp/files/patch-libgai_unp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/libunp/files/patch-libgai_unp.h b/net/libunp/files/patch-libgai_unp.h new file mode 100644 index 000000000000..25f4146ab45b --- /dev/null +++ b/net/libunp/files/patch-libgai_unp.h @@ -0,0 +1,18 @@ +Index: libgai/unp.h +diff -u libgai/unp.h.orig libgai/unp.h +--- libgai/unp.h.orig Mon Sep 15 04:49:59 1997 ++++ libgai/unp.h Thu Oct 30 00:31:12 2003 +@@ -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 |