projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855806b
)
Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 18 Dec 2006 11:41:53 +0000
(11:41 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 18 Dec 2006 11:41:53 +0000
(11:41 +0000)
lib/fake-gai-errnos.h
patch
|
blob
|
history
diff --git
a/lib/fake-gai-errnos.h
b/lib/fake-gai-errnos.h
index
551c873
..
c4213cf
100644
(file)
--- a/
lib/fake-gai-errnos.h
+++ b/
lib/fake-gai-errnos.h
@@
-10,6
+10,12
@@
/* for old netdb.h */
#ifndef EAI_NODATA
#define EAI_NODATA 1
+#endif
+
+#ifndef EAI_MEMORY
#define EAI_MEMORY 2
+#endif
+
+#ifndef EAI_FAMILY
#define EAI_FAMILY 3
#endif