opkg: disable gpgme header if gpgme disabled from configure
[oweals/opkg-lede.git] / opkg_download.c
index 2f87eec81f850f3ad89f5ac8d9ffe3070d029174..2c2bc57422550bd21c8fa00c7bfc97957662f04f 100644 (file)
@@ -18,7 +18,9 @@
 */
 
 #include <curl/curl.h>
+#ifdef HAVE_GPGME
 #include <gpgme.h>
+#endif
 
 #include "opkg.h"
 #include "opkg_download.h"