aboutsummaryrefslogtreecommitdiff
path: root/lib/cleanpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cleanpath.c')
-rw-r--r--lib/cleanpath.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cleanpath.c b/lib/cleanpath.c
index 344c705..d7f207d 100644
--- a/lib/cleanpath.c
+++ b/lib/cleanpath.c
@@ -4,6 +4,10 @@
#include <regex.h>
#include "cleanpath.h"
+#if OS_LINUX
+#include <linux/limits.h>
+#endif
+
/**
* Split path into parts by sep
* @param path a string (e.g. "/path1:/path2:/pathN")