summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-08-24 11:54:24 -1000
committerPaul Spooren <mail@aparcar.org>2021-08-24 11:54:24 -1000
commit9b3e68d4ba7b2dd8e85539fe157ca4bfa9a24d93 (patch)
treef8b6809a8a59c02a8f306608afb370ae9b984276
parent74361938857d62149a93e992fb8edccc5a322b4a (diff)
downloadapk-tools-9b3e68d4ba7b2dd8e85539fe157ca4bfa9a24d93.tar.gz
apk-tools-9b3e68d4ba7b2dd8e85539fe157ca4bfa9a24d93.tar.bz2
apk-tools-9b3e68d4ba7b2dd8e85539fe157ca4bfa9a24d93.tar.xz
apk-tools-9b3e68d4ba7b2dd8e85539fe157ca4bfa9a24d93.zip
tar: include missing limits.h
Without this header the build fails when used as a OpenWrt build dependency. Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r--src/tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tar.c b/src/tar.c
index e2a1d19..e682dda 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -9,6 +9,7 @@
#include <sys/stat.h>
#include <sys/sysmacros.h>
+#include <limits.h>
#include "apk_defines.h"
#include "apk_tar.h"