summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-06-19 14:25:54 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-06-19 14:25:54 +0300
commit2eba7f2af73e535f432068ac88b4f6f465745798 (patch)
tree5dc6565fdeebbf123c4b325642c493fdb7ff4775
parentb980ed85221e5694f69070945661ad9b1f4f0e2d (diff)
downloadapk-tools-2eba7f2af73e535f432068ac88b4f6f465745798.tar.gz
apk-tools-2eba7f2af73e535f432068ac88b4f6f465745798.tar.bz2
apk-tools-2eba7f2af73e535f432068ac88b4f6f465745798.tar.xz
apk-tools-2eba7f2af73e535f432068ac88b4f6f465745798.zip
fixup some includes
- remove unneeded assert.h - add needed limits.h
-rw-r--r--src/adb_walk_adb.c1
-rw-r--r--src/apk_pathbuilder.h1
-rw-r--r--src/app_adbdump.c1
-rw-r--r--src/app_adbsign.c1
-rw-r--r--src/app_convdb.c1
-rw-r--r--src/app_convndx.c1
-rw-r--r--src/app_mkndx.c1
7 files changed, 1 insertions, 6 deletions
diff --git a/src/adb_walk_adb.c b/src/adb_walk_adb.c
index b9f051c..155ef33 100644
--- a/src/adb_walk_adb.c
+++ b/src/adb_walk_adb.c
@@ -2,7 +2,6 @@
#include <stdio.h>
#include <unistd.h>
-#include <assert.h>
#include "apk_adb.h"
#include "apk_applet.h"
#include "apk_print.h"
diff --git a/src/apk_pathbuilder.h b/src/apk_pathbuilder.h
index 34181db..cabf51c 100644
--- a/src/apk_pathbuilder.h
+++ b/src/apk_pathbuilder.h
@@ -9,6 +9,7 @@
#ifndef APK_PATHBUILDER_H
#define APK_PATHBUILDER_H
+#include <limits.h>
#include "apk_blob.h"
struct apk_pathbuilder {
diff --git a/src/app_adbdump.c b/src/app_adbdump.c
index 5c1b69c..39cc074 100644
--- a/src/app_adbdump.c
+++ b/src/app_adbdump.c
@@ -1,6 +1,5 @@
#include <stdio.h>
#include <unistd.h>
-#include <assert.h>
#include "apk_adb.h"
#include "apk_applet.h"
#include "apk_print.h"
diff --git a/src/app_adbsign.c b/src/app_adbsign.c
index bb489c0..2992d76 100644
--- a/src/app_adbsign.c
+++ b/src/app_adbsign.c
@@ -1,7 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <assert.h>
#include "adb.h"
#include "apk_applet.h"
diff --git a/src/app_convdb.c b/src/app_convdb.c
index dfb426b..7c457a5 100644
--- a/src/app_convdb.c
+++ b/src/app_convdb.c
@@ -1,7 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <assert.h>
#include <sys/stat.h>
#include "apk_adb.h"
diff --git a/src/app_convndx.c b/src/app_convndx.c
index 3014e11..1aa37f5 100644
--- a/src/app_convndx.c
+++ b/src/app_convndx.c
@@ -1,7 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <assert.h>
#include "apk_adb.h"
#include "apk_applet.h"
diff --git a/src/app_mkndx.c b/src/app_mkndx.c
index 1281702..8e7e67d 100644
--- a/src/app_mkndx.c
+++ b/src/app_mkndx.c
@@ -12,7 +12,6 @@
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
-#include <assert.h>
#include <unistd.h>
#include <sys/stat.h>