summaryrefslogtreecommitdiff
path: root/debian/patches/0700_hurd_PATH_MAX.patch
blob: 3babcddf25b2e6dda2a323b972bbad97eb51c0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Add PATH_MAX for hurd
Author: Jörg Frings-Fürst <debain@jff-webhosting.net>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784425
Last-Update: 2016-01-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/libcutl/cutl/fs/path.cxx
===================================================================
--- trunk.orig/libcutl/cutl/fs/path.cxx
+++ trunk/libcutl/cutl/fs/path.cxx
@@ -13,6 +13,10 @@
 
 #include <cutl/fs/path.hxx>
 
+#ifndef PATH_MAX
+  #define PATH_MAX 4096
+#endif
+
 namespace cutl
 {
   namespace fs