libopkg: store compressed package lists
[oweals/opkg-lede.git] / libopkg / pkg.h
index 4450fd061f9a4d73c00be630e02d709b573e2ec1..775b656408cc47ec5ac704519ea1acd264856155 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef PKG_H
 #define PKG_H
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include "pkg_vec.h"
@@ -143,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;
@@ -189,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
  */