Include config.h to pull in HAVE_* macros where needed.
[oweals/opkg-lede.git] / libopkg / opkg_install.c
index 94d61884125507ebdb464cf4235884b07e7931f2..2ee240fd6400f96fa59ed7e71579be3dad835674 100644 (file)
    General Public License for more details.
 */
 
-#include "includes.h"
-#include <errno.h>
-#include <dirent.h>
-#include <glob.h>
+#include "config.h"
+
+#include <stdio.h>
 #include <time.h>
 #include <signal.h>
+#include <unistd.h>
 
 #include "pkg.h"
 #include "pkg_hash.h"
@@ -63,7 +63,7 @@ satisfy_dependencies_for(pkg_t *pkg)
               unresolved++;
          }
          free(tmp);
-         opkg_msg(ERROR, "\n");
+         opkg_message(ERROR, "\n");
          if (! conf->force_depends) {
               opkg_msg(INFO,
                            "This could mean that your package list is out of date or that the packages\n"