]> Pileus Git - ~andy/fetchmail/blobdiff - env.c
Remove start_dynamic_ppp, a script that encourages unsafe practices.
[~andy/fetchmail] / env.c
diff --git a/env.c b/env.c
index cc8c9cd911cfed3893f3d975f0e0e59676024d79..cf535e34eb8b9944405c8f09fc8836013b66db66 100644 (file)
--- a/env.c
+++ b/env.c
@@ -18,8 +18,8 @@
 #include "fetchmail.h"
 #include "getaddrinfo.h"
 
-#include "i18n.h"
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS)
+#include "gettext.h"
+#if defined(ENABLE_NLS)
 #include <locale.h>
 #endif
 
@@ -223,12 +223,12 @@ char *rfc822timestamp(void)
      * weird multibyte i18n characters (such as kanji) from showing up
      * in your Received headers.
      */
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS)
+#if defined(ENABLE_NLS)
     setlocale (LC_TIME, "C");
 #endif
     strftime(buf, sizeof(buf)-1, 
             "%a, %d %b %Y %H:%M:%S XXXXX (%Z)", localtime(&now));
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS)
+#if defined(ENABLE_NLS)
     setlocale (LC_TIME, "");
 #endif
     strncpy(strstr(buf, "XXXXX"), tzoffset(&now), 5);