Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1.
This commit is contained in:
parent
855806b2f7
commit
b32c22cf54
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
||||||
/* for old netdb.h */
|
/* for old netdb.h */
|
||||||
#ifndef EAI_NODATA
|
#ifndef EAI_NODATA
|
||||||
#define EAI_NODATA 1
|
#define EAI_NODATA 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EAI_MEMORY
|
||||||
#define EAI_MEMORY 2
|
#define EAI_MEMORY 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EAI_FAMILY
|
||||||
#define EAI_FAMILY 3
|
#define EAI_FAMILY 3
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue