summaryrefslogtreecommitdiffstats
path: root/src/p_redirs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_redirs.c')
-rw-r--r--src/p_redirs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/p_redirs.c b/src/p_redirs.c
index cbc9a10..091293c 100644
--- a/src/p_redirs.c
+++ b/src/p_redirs.c
@@ -14,7 +14,11 @@
#include <stdint.h>
#include <stddef.h>
#include <unistd.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "d_define.h"
#include "p_redirs.h"