From 542b6aa18abe9cadcf68c4a5c88bde4353e5eac9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 10 Aug 2014 23:54:41 +0000 Subject: Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. Include where needed, it does not belong in config.h. Remove from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing. --- read.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index 94668389..b85931da 100644 --- a/read.c +++ b/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.79 2014/08/06 15:09:05 schwarze Exp $ */ +/* $Id: read.c,v 1.80 2014/08/10 23:54:41 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -16,13 +16,12 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include #ifdef HAVE_MMAP -# include -# include +#include +#include #endif #include -- cgit v1.2.3