summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/skalibs/posixishard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/posixishard.h b/src/include/skalibs/posixishard.h
index b5da077..c7b3361 100644
--- a/src/include/skalibs/posixishard.h
+++ b/src/include/skalibs/posixishard.h
@@ -27,4 +27,10 @@ extern size_t strnlen (char const *, size_t) gccattr_pure ;
#define MSG_NOSIGNAL 0
#endif
+#ifdef PATH_MAX
+#define SKALIBS_PATH_MAX PATH_MAX
+#else
+#define SKALIBS_PATH_MAX 4096
+#endif
+
#endif