aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-04-29 20:53:46 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-04-29 20:53:46 +0200
commitc07136de8a76708a021911339f7fdde56e7c3789 (patch)
treee3f347028bf841a07b92c97cb27abe31446679fa
parenta1e745c4da90c875ecbd433fcc81fe3bab2811e5 (diff)
downloadfetchmail-c07136de8a76708a021911339f7fdde56e7c3789.tar.gz
fetchmail-c07136de8a76708a021911339f7fdde56e7c3789.tar.bz2
fetchmail-c07136de8a76708a021911339f7fdde56e7c3789.zip
#include "config.h" before string[s].h, to fix Solaris symbol exposure.
-rw-r--r--netrc.c3
-rw-r--r--rfc822.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/netrc.c b/netrc.c
index 8bfa19d8..a585e1a0 100644
--- a/netrc.c
+++ b/netrc.c
@@ -10,12 +10,13 @@
(Makefile.am should have a rule so you can just type "make netrc")
*/
+#include "config.h"
+
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "fetchmail.h"
#include "netrc.h"
#include "i18n.h"
diff --git a/rfc822.c b/rfc822.c
index 8fe209ab..a3ff263f 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -19,6 +19,9 @@ is part of fetchmail and the Unix Cookbook, and are released under the
MIT license. Compile with -DMAIN to build the demonstrator.
******************************************************************************/
+
+#include "config.h"
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>