Include config.h to pull in HAVE_* macros where needed.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 21 Dec 2009 00:13:42 +0000 (00:13 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 21 Dec 2009 00:13:42 +0000 (00:13 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@505 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/file_util.c
libopkg/opkg_cmd.c
libopkg/opkg_conf.c
libopkg/opkg_conf.h
libopkg/opkg_download.h
libopkg/opkg_install.c
libopkg/pkg.h
libopkg/pkg_parse.c
libopkg/pkg_vec.c

index 964473a51b60183fe38cdc856f69f899cd379745..0a443ea62678f9e3fb99a922f1c202099d07d769 100644 (file)
@@ -16,6 +16,8 @@
    General Public License for more details.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 4d2eb383026c430a978b32e0b22d96a452ed553e..fceffdd95b01a3b995d4b443bfa6135511bb6e93 100644 (file)
@@ -15,6 +15,8 @@
    General Public License for more details.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <dirent.h>
 #include <glob.h>
index 207f7fcbff30ccf04bfe1d493af09786fad0fab9..49944aa9821b0c1f20a4acd829fda0a88f74913b 100644 (file)
@@ -16,6 +16,8 @@
    General Public License for more details.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 6b3495295e8eb5c448a9f3a07aa6bab178d296f6..092686cf4ea7c323ccb16e4805b09c19c59a17c6 100644 (file)
@@ -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"
index 24b7bcb29b79184ecc778930bfc8fb43d3c52459..00582871c124db4cf0576f5af207f34f50c680fe 100644 (file)
@@ -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);
index 79bbd3c9e5f1b6beb3a754f872b3321c965f77da..2ee240fd6400f96fa59ed7e71579be3dad835674 100644 (file)
@@ -15,6 +15,8 @@
    General Public License for more details.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <time.h>
 #include <signal.h>
index 4450fd061f9a4d73c00be630e02d709b573e2ec1..1b65febee998cd57b92b6729f924f03b35e839ed 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef PKG_H
 #define PKG_H
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include "pkg_vec.h"
index c35eb1a30d67fef0a555e86db58ace33cd6c0365..6c9c7eed8aad99f3c48da2978d6db083ac678e68 100644 (file)
@@ -16,6 +16,8 @@
    General Public License for more details.
 */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <ctype.h>
 
index e541dccab7cf3075cbd97bd32383bdb6e4f50fe9..4f66c02e03efa826a4d9c4e65f17263263f3cb4d 100644 (file)
@@ -18,7 +18,6 @@
 #include <stdio.h>
 #include <fnmatch.h>
 
-#include "xregex.h"
 #include "pkg.h"
 #include "opkg_message.h"
 #include "libbb/libbb.h"