opkg: disable gpgme header if gpgme disabled from configure
[oweals/opkg-lede.git] / 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"