summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:21:48 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:21:48 (EST)
commit6f5a5ff3cc3e54d16b86ed339044b9df7d7c07a2 (patch)
tree91ebb48286c6a9f1d7f71e01da454ad47194a696
parent9a1ee51de496e907052ce083c6a1a4c46341b466 (diff)
opkg: fix gpg enabled builds and fix one compiler warning
git-svn-id: http://opkg.googlecode.com/svn/trunk@30 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--opkg_download.c2
-rw-r--r--opkg_state.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/opkg_download.c b/opkg_download.c
index 2c2bc57..bbd6efe 100644
--- a/opkg_download.c
+++ b/opkg_download.c
@@ -16,7 +16,7 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
-
+#include "config.h"
#include <curl/curl.h>
#ifdef HAVE_GPGME
#include <gpgme.h>
diff --git a/opkg_state.h b/opkg_state.h
index 36dd28e..2718569 100644
--- a/opkg_state.h
+++ b/opkg_state.h
@@ -29,4 +29,8 @@ typedef enum _opkg_state {
OPKG_STATE_VERIFYING_REPOSITORY_SIGNATURE
} opkg_state_t;
+
+void opkg_set_current_state (opkg_state_t state, const char *data);
+
+
#endif /* OPKG_STATE_H */