From eb737947eb2afe98f9dac1121fa37d1b746c5657 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 8 Oct 2015 13:15:15 +0100 Subject: Reorganize includes to reduce namespace pollution. --- src/libutil/addr.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/libutil/addr.c') diff --git a/src/libutil/addr.c b/src/libutil/addr.c index 4a48ab7e8..1c7f4dbdf 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -26,6 +26,17 @@ #include "util.h" #include "logger.h" +#include "unix-std.h" +/* pwd and grp */ +#ifdef HAVE_PWD_H +#include +#endif + +#ifdef HAVE_GRP_H +#include +#endif + + enum { RSPAMD_IPV6_UNDEFINED = 0, RSPAMD_IPV6_SUPPORTED, -- cgit v1.2.3