summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-08-09 06:51:29 (GMT)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-08-09 06:51:29 (GMT)
commit4784cac1f017a67978c2f3f2af75b161d1ef33c0 (patch)
tree3274e9d5348fd16d6b89ec42aa995ae1c5ee8d0f /plugins/common.h
parenta228492c4bea15a3e6e7bdbfd6631611c97fe92c (diff)
downloadmonitoring-plugins-4784cac1f017a67978c2f3f2af75b161d1ef33c0.tar.gz
Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@673 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 91b454d..e55b0bb 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -80,7 +80,7 @@
80 80
81#include <ctype.h> 81#include <ctype.h>
82 82
83#if HAVE_LWRES_NETDB_H 83#ifdef HAVE_LWRES_NETDB_H
84#include <lwres/netdb.h> 84#include <lwres/netdb.h>
85#else 85#else
86# if !HAVE_GETADDRINFO 86# if !HAVE_GETADDRINFO
@@ -90,6 +90,10 @@
90# endif 90# endif
91#endif 91#endif
92 92
93#ifdef HAVE_LOCALE_H
94#include <locale.h>
95#endif
96
93/* 97/*
94 * 98 *
95 * Missing Functions 99 * Missing Functions
@@ -156,7 +160,7 @@ enum {
156 * 160 *
157 */ 161 */
158 162
159#if ENABLE_NLS 163#ifdef ENABLE_NLS
160# include "gettext.h" 164# include "gettext.h"
161# define _(String) gettext (String) 165# define _(String) gettext (String)
162# define S_(String) gettext (String) 166# define S_(String) gettext (String)