sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / dosfstools / 0002-src-device_info.c-Fix-undefined-PATH_MAX-under-musl.patch
blob9740304603ab890ac272672a1a2bafcbe8586f16
1 From 06ce096dabd8a29c72dc0bc5110d2c4867baa490 Mon Sep 17 00:00:00 2001
2 From: Alessio Sergi <al3hex@gmail.com>
3 Date: Fri, 6 May 2016 18:18:18 +0200
4 Subject: [PATCH] src/device_info.c: Fix undefined PATH_MAX under musl
6 In musl libc, PATH_MAX is defined in <limits.h>.
8 Status: pending
9 https://github.com/dosfstools/dosfstools/pull/27
11 [Romain: add patch status]
12 Signed-off-by: Romain Naour <romain.naour@gmail.com>
13 ---
14 src/device_info.c | 1 +
15 1 file changed, 1 insertion(+)
17 diff --git a/src/device_info.c b/src/device_info.c
18 index f5d11ac..cd57388 100644
19 --- a/src/device_info.c
20 +++ b/src/device_info.c
21 @@ -17,6 +17,7 @@
25 +#include <limits.h>
26 #include <stdint.h>
27 #include <stdbool.h>
28 #include <sys/types.h>
29 --
30 2.5.5