From d6ea4230ca70c3c7875a61e1c7c1dedb6d1b6fc5 Mon Sep 17 00:00:00 2001 From: google@wwsnet.net Date: Sun, 12 Sep 2010 20:47:26 -0400 Subject: fix compile issues on OS X and FreeBSD git-svn-id: http://opkg.googlecode.com/svn/trunk@560 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index 4969dd7..e84340a 100644 --- 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" diff --git a/libopkg/pkg.c b/libopkg/pkg.c index 5b1321e..2e854a9 100644 --- a/libopkg/pkg.c +++ b/libopkg/pkg.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "pkg.h" diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index dbe1e7e..31a22b0 100644 --- a/tests/libopkg_test.c +++ b/tests/libopkg_test.c @@ -5,6 +5,7 @@ #include +int opkg_state_changed; pkg_t *find_pkg = NULL; -- cgit v0.9.1