summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-06 17:38:32 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-06 17:38:32 +0100
commit17ba5dc11c3d1db8be0fbe1ce54e9f9b75b1825d (patch)
tree8122ca756b74db73864292fb0f23471280b6fb40
parent39b0c8831248a12802840795b52484129a2147bf (diff)
downloadapk-tools-17ba5dc11c3d1db8be0fbe1ce54e9f9b75b1825d.tar.bz2
apk-tools-17ba5dc11c3d1db8be0fbe1ce54e9f9b75b1825d.tar.xz
commit: include limits.h for PATH_MAX
this fixes build on ppc64le
-rw-r--r--src/commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.c b/src/commit.c
index 80b2c13..278af5e 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -9,6 +9,7 @@
* by the Free Software Foundation. See http://www.gnu.org/ for details.
*/
+#include <limits.h>
#include <stdint.h>
#include <unistd.h>
#include "apk_defines.h"