diff --git a/package/opkg/patches/013-fix-darwin-compile.patch b/package/opkg/patches/013-fix-darwin-compile.patch new file mode 100644 index 00000000000..6f34fc10c81 --- /dev/null +++ b/package/opkg/patches/013-fix-darwin-compile.patch @@ -0,0 +1,30 @@ +--- a/libopkg/opkg_download.c ++++ b/libopkg/opkg_download.c +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + #include "opkg_download.h" + #include "opkg_message.h" +--- a/libopkg/pkg.c ++++ b/libopkg/pkg.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "pkg.h" + +--- a/tests/libopkg_test.c ++++ b/tests/libopkg_test.c +@@ -5,6 +5,7 @@ + + #include + ++int opkg_state_changed; + pkg_t *find_pkg = NULL; + +