aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0001-commit-include-limits.h-for-PATH_MAX.patch
blob: a59f63a87a8763c872f85bfd797146312146cd72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 4dd8d8103a652b451deaa778cd3d96d6e400e776 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 6 Mar 2017 17:38:32 +0100
Subject: [PATCH] commit: include limits.h for PATH_MAX

this fixes build on ppc64le
---
 src/commit.c | 1 +
 1 file changed, 1 insertion(+)

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"
-- 
2.11.1