include/ttyutils.h: add include guards
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
eda399b995
commit
0b6198ec07
|
@ -1,3 +1,5 @@
|
|||
#ifndef UTIL_LINUX_TTYUTILS_H
|
||||
#define UTIL_LINUX_TTYUTILS_H
|
||||
|
||||
#include <termios.h>
|
||||
|
||||
|
@ -71,3 +73,5 @@ static inline void reset_virtual_console(struct termios *tp, int flags)
|
|||
tp->c_cc[VLNEXT] = CLNEXT;
|
||||
tp->c_cc[VEOL2] = _POSIX_VDISABLE;
|
||||
}
|
||||
|
||||
#endif /* UTIL_LINUX_TTYUTILS_H */
|
||||
|
|
Loading…
Reference in New Issue