From 7598b2b65beab04599448d4414c008a498cdc1c3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 25 Apr 2024 10:12:18 -0400 Subject: kernel: termios: Include stdint.h if not kernel Signed-off-by: Ian Moffett --- sys/include/sys/termios.h | 4 ++++ 1 file changed, 4 insertions(+) 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 +#else +#include +#endif #define NCCS 20 -- cgit v1.2.3