summaryrefslogtreecommitdiff
path: root/debian/patches/0155-hurd_PATH_MAX.patch
blob: b1d6056d585f1cd179d79f7209d13a0cef20355a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Add PATH_MAX if undefined
Author: Jörg Frings-Fürst <debian@jff.email>
Last-Update: 2020-04-01 
Index: trunk/backend/escl/escl_capabilities.c
===================================================================
--- trunk.orig/backend/escl/escl_capabilities.c
+++ trunk/backend/escl/escl_capabilities.c
@@ -35,6 +35,10 @@
 
 #include "../include/sane/saneopts.h"
 
+#ifndef PATH_MAX
+    #define PATH_MAX 4096
+#endif
+
 struct cap
 {
     char *memory;