X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=076600fc45f2952212835339ac4e991ee0e5edc6;hp=2add48449f26fd46345a5644df00700df3ab5826;hb=e5c63af4f631e706c8c8793f5db862c80948925c;hpb=b9ff47c00a184f572037a05f40d9ea62222f514c diff --git a/net.c b/net.c index 2add4844..076600fc 100644 --- a/net.c +++ b/net.c @@ -8,6 +8,18 @@ #include +/* At least NetBSD needs these. */ +#ifndef AI_V4MAPPED +#define AI_V4MAPPED 0 +#endif +#ifndef AI_ALL +#define AI_ALL 0 +#endif +#ifndef AI_ADDRCONFIG +#define AI_ADDRCONFIG 0 +#endif + + #include "para.h" #include "error.h" #include "net.h"