#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
* 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);
case P_AUTO: return("auto");
#ifdef POP3_ENABLE
case P_POP3: return("POP3");
- case P_APOP: return("APOP");
- case P_RPOP: return("RPOP");
#endif /* POP3_ENABLE */
#ifdef IMAP_ENABLE
case P_IMAP: return("IMAP");