diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-08-09 06:51:29 +0000 |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-08-09 06:51:29 +0000 |
commit | 4784cac1f017a67978c2f3f2af75b161d1ef33c0 (patch) | |
tree | 3274e9d5348fd16d6b89ec42aa995ae1c5ee8d0f /plugins/common.h | |
parent | a228492c4bea15a3e6e7bdbfd6631611c97fe92c (diff) | |
download | monitoring-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.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/common.h b/plugins/common.h index 91b454db..e55b0bbd 100644 --- a/plugins/common.h +++ b/plugins/common.h @@ -80,7 +80,7 @@ #include <ctype.h> -#if HAVE_LWRES_NETDB_H +#ifdef HAVE_LWRES_NETDB_H #include <lwres/netdb.h> #else # if !HAVE_GETADDRINFO @@ -90,6 +90,10 @@ # endif #endif +#ifdef HAVE_LOCALE_H +#include <locale.h> +#endif + /* * * Missing Functions @@ -156,7 +160,7 @@ enum { * */ -#if ENABLE_NLS +#ifdef ENABLE_NLS # include "gettext.h" # define _(String) gettext (String) # define S_(String) gettext (String) |