libopkg: store compressed package lists
[oweals/opkg-lede.git] / libopkg / pkg.h
index 81f2f67f92af523f2c529ef6020b4fc605bf2ca2..775b656408cc47ec5ac704519ea1acd264856155 100644 (file)
@@ -18,9 +18,9 @@
 #ifndef PKG_H
 #define PKG_H
 
+#include "config.h"
+
 #include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
 
 #include "pkg_vec.h"
 #include "str_list.h"
@@ -145,7 +145,7 @@ struct pkg
      char **conflicts_str;
      compound_depend_t * conflicts;
      unsigned int conflicts_count;
-       
+
      char **replaces_str;
      unsigned int replaces_count;
      abstract_pkg_t ** replaces;
@@ -191,7 +191,7 @@ void pkg_deinit(pkg_t *pkg);
 int pkg_init_from_file(pkg_t *pkg, const char *filename);
 abstract_pkg_t *abstract_pkg_new(void);
 
-/* 
+/*
  * merges fields from newpkg into oldpkg.
  * Forcibly sets oldpkg state_status, state_want and state_flags
  */