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 | |
| 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')
| -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 @@ | |||
| 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) |
