X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=net.c;h=e1951e5e8d87501b1ef9096d3f3df64117e904f0;hb=d440a71683940a58747de6dc32643db452d9cf54;hp=d1dcba0a26a27472606c48f66d17296faf04fcd7;hpb=52cb435d3d628d27fa781b31519470eb5ef70a4a;p=paraslash.git diff --git a/net.c b/net.c index d1dcba0a..e1951e5e 100644 --- a/net.c +++ b/net.c @@ -10,18 +10,6 @@ #include #include #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 #include "error.h" @@ -300,7 +288,7 @@ struct flowopts *flowopt_new(void) { struct flowopts *new = para_malloc(sizeof(*new)); - INIT_LIST_HEAD(&new->sockopts); + init_list_head(&new->sockopts); return new; }