aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/termios.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/sys/termios.h b/sys/include/sys/termios.h
index 6548163..875ee71 100644
--- a/sys/include/sys/termios.h
+++ b/sys/include/sys/termios.h
@@ -30,7 +30,11 @@
#ifndef _SYS_TERMIOS_H_
#define _SYS_TERMIOS_H_
+#if defined(_KERNEL)
#include <sys/types.h>
+#else
+#include <stdint.h>
+#endif
#define NCCS 20