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