From c07136de8a76708a021911339f7fdde56e7c3789 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 29 Apr 2010 20:53:46 +0200 Subject: #include "config.h" before string[s].h, to fix Solaris symbol exposure. --- netrc.c | 3 ++- rfc822.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include #include #include -#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 #include #include -- cgit v1.2.3