summaryrefslogtreecommitdiff
path: root/debian/patches/knot_PATH_MAX.patch
blob: 858defb160e0de5f2cdf6fd0a70223684d69e608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- knot.orig/src/libknot/common.h
+++ knot/src/libknot/common.h
@@ -38,6 +38,10 @@ typedef unsigned int uint; /*!< \brief U
 #define UINT_DEFINED
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /*! \brief Eliminate compiler warning with unused parameters. */
 #define UNUSED(param) (void)(param)