summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_conf.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-20 19:13:22 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-20 19:13:22 (EST)
commit599cc259280ccde97b2a3b459c3f015db6390127 (patch)
tree6447c3ee9a08d4de07f875145ba7b10d8bb103ff /libopkg/opkg_conf.c
parent46b5b8779dbb8e5e03622fc34dbc943a4400c436 (diff)
Initial stab at untangling the #include maze. Probably needs a second pass.
git-svn-id: http://opkg.googlecode.com/svn/trunk@504 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_conf.c')
-rw-r--r--libopkg/opkg_conf.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index 28321c1..207f7fc 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -16,9 +16,16 @@
General Public License for more details.
*/
-#include "includes.h"
-#include "opkg_conf.h"
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <glob.h>
+#include <unistd.h>
+#include "opkg_conf.h"
+#include "pkg_vec.h"
+#include "pkg.h"
#include "xregex.h"
#include "sprintf_alloc.h"
#include "opkg_message.h"
@@ -26,12 +33,6 @@
#include "opkg_defines.h"
#include "libbb/libbb.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <glob.h>
-
static int lock_fd;
static char *lock_file = NULL;