summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_struct.h')
-rw-r--r--src/s_struct.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index c4ffffe..58aa155 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -15,7 +15,11 @@
# include <stdint.h>
# include <stddef.h>
-# include <limits.h>
+# ifdef linux
+# include <linux/limits.h>
+# else
+# include <limits.h>
+# endif
# include "d_define.h"