projects
/
oweals
/
tinc.git
/ 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 551c87308e93816cab39f4aad983591a43080f50..c4213cfd496519a8a7d59e975f355d7b82559165 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