summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c337c34)
raw | patch | inline | side by side (parent: c337c34)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 9 Apr 2003 03:44:29 +0000 (03:44 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 9 Apr 2003 03:44:29 +0000 (03:44 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@482 f882894a-f735-0410-b71e-b25c423dba1c
plugins/common.h | patch | blob | history |
diff --git a/plugins/common.h b/plugins/common.h
index af9795259da3c5d436297d147ac489d9b847dbd7..280333e0e31d3fac980db28369e82ee2ee9ca349 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
#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
/*