summaryrefslogtreecommitdiffstats
path: root/contrib/ee
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2009-09-02 04:43:46 +0000
committerache <ache@FreeBSD.org>2009-09-02 04:43:46 +0000
commitcc84c0640feeec73ce3cfa8443f347fcb4049ab2 (patch)
treead103769770b9bbcd6c70c9a3e5667a374d1cd96 /contrib/ee
parentbbd87e6bfdf20fe240a7ed65fa828ec7d64c0e7d (diff)
downloadFreeBSD-src-cc84c0640feeec73ce3cfa8443f347fcb4049ab2.zip
FreeBSD-src-cc84c0640feeec73ce3cfa8443f347fcb4049ab2.tar.gz
Move <locale.h> out of NO_CATGETS define too (as setlocale() in prev.
commit)
Diffstat (limited to 'contrib/ee')
-rwxr-xr-xcontrib/ee/ee.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/ee/ee.c b/contrib/ee/ee.c
index bd392a7..4c95ac9 100755
--- a/contrib/ee/ee.c
+++ b/contrib/ee/ee.c
@@ -83,6 +83,7 @@ char *version = "@(#) ee, version " EE_VERSION " $Revision: 1.102 $";
#include <errno.h>
#include <string.h>
#include <pwd.h>
+#include <locale.h>
#ifdef HAS_SYS_WAIT
#include <sys/wait.h>
@@ -100,9 +101,7 @@ char *version = "@(#) ee, version " EE_VERSION " $Revision: 1.102 $";
#include <unistd.h>
#endif
-
#ifndef NO_CATGETS
-#include <locale.h>
#include <nl_types.h>
nl_catd catalog;
OpenPOWER on IntegriCloud