diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-20 19:13:42 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-20 19:13:42 (EST) |
commit | 5c709efb3d63562930b181a342a1bc258bccee83 (patch) | |
tree | 7b9b48d8af07e6a911106567d60ce042bc62aa46 /libopkg | |
parent | 599cc259280ccde97b2a3b459c3f015db6390127 (diff) |
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
Diffstat (limited to 'libopkg')
-rw-r--r-- | libopkg/file_util.c | 2 | ||||
-rw-r--r-- | libopkg/opkg_cmd.c | 2 | ||||
-rw-r--r-- | libopkg/opkg_conf.c | 2 | ||||
-rw-r--r-- | libopkg/opkg_conf.h | 2 | ||||
-rw-r--r-- | libopkg/opkg_download.h | 1 | ||||
-rw-r--r-- | libopkg/opkg_install.c | 2 | ||||
-rw-r--r-- | libopkg/pkg.h | 2 | ||||
-rw-r--r-- | libopkg/pkg_parse.c | 2 | ||||
-rw-r--r-- | libopkg/pkg_vec.c | 1 |
9 files changed, 15 insertions, 1 deletions
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 <stdio.h> #include <sys/types.h> #include <sys/stat.h> 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 <stdio.h> #include <dirent.h> #include <glob.h> 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 <stdio.h> #include <sys/types.h> #include <sys/stat.h> 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 <stdarg.h> #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 <stdio.h> #include <time.h> #include <signal.h> 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 <sys/types.h> #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 <stdio.h> #include <ctype.h> 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 <stdio.h> #include <fnmatch.h> -#include "xregex.h" #include "pkg.h" #include "opkg_message.h" #include "libbb/libbb.h" |