From 002c04988d4430013496c4cab75e1f024421a45c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 26 Dec 2007 09:55:37 +0000 Subject: moved cross-platform define for AI_NUMERICSERV to net.h --- net.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'net.h') diff --git a/net.h b/net.h index cdc4d0ba..6c50f5e9 100644 --- a/net.h +++ b/net.h @@ -84,5 +84,17 @@ extern struct AllowedSenders *pAllowedSenders_UDP; extern struct AllowedSenders *pAllowedSenders_TCP; extern struct AllowedSenders *pAllowedSenders_GSS; +/* IPv6 compatibility layer for older platforms + * We need to handle a few things different if we are running + * on an older platform which does not support all the glory + * of IPv6. We try to limit toll on features and reliability, + * but obviously it is better to run rsyslog on a platform that + * supports everything... + * rgerhards, 2007-06-22 + */ +#ifndef AI_NUMERICSERV +# define AI_NUMERICSERV 0 +#endif + #endif /* #ifdef SYSLOG_INET */ #endif /* #ifndef INCLUDED_NET_H */ -- cgit