diff options
Diffstat (limited to 'src/m_prompt.c')
-rw-r--r-- | src/m_prompt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_prompt.c b/src/m_prompt.c index e0b3ed1..e9589a5 100644 --- a/src/m_prompt.c +++ b/src/m_prompt.c @@ -14,7 +14,11 @@ #include <stddef.h> #include <stdint.h> #include <unistd.h> -#include <limits.h> +#ifdef __linux__ +# include <linux/limits.h> +#else +# include <limits.h> +#endif #include "d_define.h" #include "m_prompt.h" |