summaryrefslogtreecommitdiff
path: root/termios/sys/ttychars.h
diff options
context:
space:
mode:
Diffstat (limited to 'termios/sys/ttychars.h')
-rw-r--r--termios/sys/ttychars.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/termios/sys/ttychars.h b/termios/sys/ttychars.h
index 1a23aa7709..54674e1af8 100644
--- a/termios/sys/ttychars.h
+++ b/termios/sys/ttychars.h
@@ -38,8 +38,8 @@
*
* User visible structures and constants related to terminal handling.
*/
-#ifndef _SYS_TTYCHARS_H_
-#define _SYS_TTYCHARS_H_
+#ifndef _SYS_TTYCHARS_H
+#define _SYS_TTYCHARS_H 1
struct ttychars {
char tc_erase; /* erase last character */
@@ -57,7 +57,9 @@ struct ttychars {
char tc_werasc; /* word erase */
char tc_lnextc; /* literal next character */
};
-#ifdef USE_OLD_TTY
+
+#ifdef __USE_OLD_TTY
#include <sys/ttydefaults.h> /* to pick up character defaults */
#endif
-#endif /* !_SYS_TTYCHARS_H_ */
+
+#endif /* sys/ttychars.h */