X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/2f61d1d75ac52f239e760ecea02332eedc4682bd..5a61e83ffef125d89c3d533178ddb6610cec2a93:/src/compat.h diff --git a/src/compat.h b/src/compat.h index 232af42..bfbfce8 100644 --- a/src/compat.h +++ b/src/compat.h @@ -110,6 +110,7 @@ struct addrinfo { #define AI_PASSIVE 1 #define AI_CANONNAME 2 +#define AI_NUMERICHOST 4 #endif /* !defined(HAVE_STRUCT_ADDRINFO) */ @@ -121,4 +122,8 @@ void freeaddrinfo(struct addrinfo *res); #endif +#ifndef SIGCHLD +# define SIGCHLD SIGCLD +#endif + #endif /* COMPAT_H */