From 7726dc6863d745360a78aa8095ef36b63cbc8016 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Wed, 9 Apr 2003 03:44:29 +0000 Subject: [PATCH] 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 --- plugins/common.h | 8 +++++--- 1 file 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 @@ #if HAVE_LWRES_NETDB_H #include -#elif !HAVE_GETADDRINFO -#include "getaddrinfo.h" #else -#include +# if !HAVE_GETADDRINFO +# include "getaddrinfo.h" +# else +# include +# endif #endif /* -- 2.30.2