opkg: disable gpgme header if gpgme disabled from configure
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:21:39 +0000 (04:21 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:21:39 +0000 (04:21 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@29 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

opkg_download.c

index 2f87eec..2c2bc57 100644 (file)
@@ -18,7 +18,9 @@
 */
 
 #include <curl/curl.h>
+#ifdef HAVE_GPGME
 #include <gpgme.h>
+#endif
 
 #include "opkg.h"
 #include "opkg_download.h"