commit:     4d2a9d4b6e7fe431c2f257323bc902b347a943c1
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 14:01:37 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 14:01:37 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4d2a9d4b

porting.h: move iniparser include to its only consumer

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 main.c    | 4 +++-
 porting.h | 2 --
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.c b/main.c
index 4bc9130..5a47b0c 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005-2018 Gentoo Foundation
+ * Copyright 2005-2019 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
  *
  * Copyright 2005-2008 Ned Ludd        - <so...@gentoo.org>
@@ -9,6 +9,8 @@
 #include "porting.h"
 #include "main.h"
 
+#include <iniparser.h>
+
 /* prototypes and such */
 static bool eat_file(const char *, char **, size_t *);
 static bool eat_file_fd(int, char **, size_t *);

diff --git a/porting.h b/porting.h
index 97a45c7..41baa7a 100644
--- a/porting.h
+++ b/porting.h
@@ -50,8 +50,6 @@
 #include <sys/time.h>
 #include <sys/types.h>
 
-#include <iniparser.h>
-
 #if defined(__MACH__)
 #include <libproc.h>
 #endif

Reply via email to