diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-02-04 21:49:35 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-02-04 21:49:35 +0000 |
commit | 77757c8d84e0fdde04be923c8a7f3ea8cd7bcf39 (patch) | |
tree | 63683ad99b6d4ee2ec858255efa14a4b81a07b11 /src/main.c | |
parent | 6460de7d7ac87145594f28a416f926f830df9b8c (diff) | |
download | mailfromd-77757c8d84e0fdde04be923c8a7f3ea8cd7bcf39.tar.gz mailfromd-77757c8d84e0fdde04be923c8a7f3ea8cd7bcf39.tar.bz2 |
* configure.ac: Check for locale.h
* src/db.c, src/bi_sprintf.m4, src/prog.c, src/bi_db.m4,
src/engine.c: Fix format arguments (ported from
branches/gmach@{2008-01-28 and 2008-01-09).
* src/main.c, src/mtasim.c: Include locale.h
git-svn-id: file:///svnroot/mailfromd/trunk@1603 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* This file is part of mailfromd. - Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff + Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,9 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> +#ifdef HAVE_LOCALE_H +# include <locale.h> +#endif #include <mailutils/mailutils.h> #if MAILUTILS_VERSION_NUMBER < 1290 |