diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-04-09 03:44:29 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-04-09 03:44:29 +0000 |
commit | 7726dc6863d745360a78aa8095ef36b63cbc8016 (patch) | |
tree | c28b6dac55a94a20cfc01aa0bdb9add4b71bfbca /plugins/common.h | |
parent | c337c34ca8669645b4b41bda76bfc74655a5cc05 (diff) | |
download | monitoring-plugins-7726dc6863d745360a78aa8095ef36b63cbc8016.tar.gz |
rewrite #elif to be compatible with traditional C
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@482 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/common.h b/plugins/common.h index af979525..280333e0 100644 --- a/plugins/common.h +++ b/plugins/common.h @@ -78,10 +78,12 @@ #if HAVE_LWRES_NETDB_H #include <lwres/netdb.h> -#elif !HAVE_GETADDRINFO -#include "getaddrinfo.h" #else -#include <netdb.h> +# if !HAVE_GETADDRINFO +# include "getaddrinfo.h" +# else +# include <netdb.h> +# endif #endif /* |