From 5c709efb3d63562930b181a342a1bc258bccee83 Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Mon, 21 Dec 2009 00:13:42 +0000 Subject: [PATCH] Include config.h to pull in HAVE_* macros where needed. git-svn-id: http://opkg.googlecode.com/svn/trunk@505 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- libopkg/file_util.c | 2 ++ libopkg/opkg_cmd.c | 2 ++ libopkg/opkg_conf.c | 2 ++ libopkg/opkg_conf.h | 2 ++ libopkg/opkg_download.h | 1 + libopkg/opkg_install.c | 2 ++ libopkg/pkg.h | 2 ++ libopkg/pkg_parse.c | 2 ++ libopkg/pkg_vec.c | 1 - 9 files changed, 15 insertions(+), 1 deletion(-) diff --git a/libopkg/file_util.c b/libopkg/file_util.c index 964473a..0a443ea 100644 --- a/libopkg/file_util.c +++ b/libopkg/file_util.c @@ -16,6 +16,8 @@ General Public License for more details. */ +#include "config.h" + #include #include #include diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 4d2eb38..fceffdd 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -15,6 +15,8 @@ General Public License for more details. */ +#include "config.h" + #include #include #include diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c index 207f7fc..49944aa 100644 --- a/libopkg/opkg_conf.c +++ b/libopkg/opkg_conf.c @@ -16,6 +16,8 @@ General Public License for more details. */ +#include "config.h" + #include #include #include diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h index 6b34952..092686c 100644 --- a/libopkg/opkg_conf.h +++ b/libopkg/opkg_conf.h @@ -21,6 +21,8 @@ typedef struct opkg_conf opkg_conf_t; extern opkg_conf_t *conf; +#include "config.h" + #include #include "hash_table.h" diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h index 24b7bcb..0058287 100644 --- a/libopkg/opkg_download.h +++ b/libopkg/opkg_download.h @@ -18,6 +18,7 @@ #ifndef OPKG_DOWNLOAD_H #define OPKG_DOWNLOAD_H +#include "config.h" #include "pkg.h" typedef void (*opkg_download_progress_callback)(int percent, char *url); diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index 79bbd3c..2ee240f 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -15,6 +15,8 @@ General Public License for more details. */ +#include "config.h" + #include #include #include diff --git a/libopkg/pkg.h b/libopkg/pkg.h index 4450fd0..1b65feb 100644 --- a/libopkg/pkg.h +++ b/libopkg/pkg.h @@ -18,6 +18,8 @@ #ifndef PKG_H #define PKG_H +#include "config.h" + #include #include "pkg_vec.h" diff --git a/libopkg/pkg_parse.c b/libopkg/pkg_parse.c index c35eb1a..6c9c7ee 100644 --- a/libopkg/pkg_parse.c +++ b/libopkg/pkg_parse.c @@ -16,6 +16,8 @@ General Public License for more details. */ +#include "config.h" + #include #include diff --git a/libopkg/pkg_vec.c b/libopkg/pkg_vec.c index e541dcc..4f66c02 100644 --- a/libopkg/pkg_vec.c +++ b/libopkg/pkg_vec.c @@ -18,7 +18,6 @@ #include #include -#include "xregex.h" #include "pkg.h" #include "opkg_message.h" #include "libbb/libbb.h" -- 2.30.2