summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-04-09 03:44:29 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-04-09 03:44:29 (GMT)
commit7726dc6863d745360a78aa8095ef36b63cbc8016 (patch)
treec28b6dac55a94a20cfc01aa0bdb9add4b71bfbca
parentc337c34ca8669645b4b41bda76bfc74655a5cc05 (diff)
downloadmonitoring-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
-rw-r--r--plugins/common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/common.h b/plugins/common.h
index af97952..280333e 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -78,10 +78,12 @@
78 78
79#if HAVE_LWRES_NETDB_H 79#if HAVE_LWRES_NETDB_H
80#include <lwres/netdb.h> 80#include <lwres/netdb.h>
81#elif !HAVE_GETADDRINFO
82#include "getaddrinfo.h"
83#else 81#else
84#include <netdb.h> 82# if !HAVE_GETADDRINFO
83# include "getaddrinfo.h"
84# else
85# include <netdb.h>
86# endif
85#endif 87#endif
86 88
87/* 89/*