X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fopkg-cl.c;h=e73e04247708cea481814a53763f70427268fb52;hb=da8d599791322c1ffd1b4ed07cc51d783e2b5edb;hp=47e2056e5a754ba8efb6fa325cb9417e220fd958;hpb=863a21b5c6db1481fdd12a76d700543520288e49;p=oweals%2Fopkg-lede.git diff --git a/src/opkg-cl.c b/src/opkg-cl.c index 47e2056..e73e042 100644 --- a/src/opkg-cl.c +++ b/src/opkg-cl.c @@ -19,10 +19,10 @@ opkg command line frontend using libopkg */ -#include "config.h" - +#define _GNU_SOURCE #include #include +#include #include "opkg_conf.h" #include "opkg_cmd.h" @@ -440,9 +440,6 @@ int main(int argc, char *argv[]) err = opkg_cmd_exec(cmd, argc - opts, (const char **)(argv + opts)); -#ifdef HAVE_CURL - opkg_curl_cleanup(); -#endif err1: opkg_conf_deinit();