summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-05-24 22:22:20 +0000
committerJakub Jelinek <jakub@redhat.com>2008-05-24 22:22:20 +0000
commit8ba7d5cebbd4acf40dc8d22982baa50c2e1fd194 (patch)
treece09df60a6357e43ff65911fc7e817bcae26486f /bits
parente96fe50f0dd8d76fabfe139b46f059e3b2373b83 (diff)
Updated to fedora-glibc-20080524T2218cvs/fedora-glibc-2_8_90-5
Diffstat (limited to 'bits')
-rw-r--r--bits/termios.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bits/termios.h b/bits/termios.h
index 4dc0fab911..293d0a6061 100644
--- a/bits/termios.h
+++ b/bits/termios.h
@@ -135,8 +135,10 @@ struct termios
/* Output modes. */
tcflag_t c_oflag;
#define OPOST (1 << 0) /* Perform output processing. */
-#ifdef __USE_BSD
+#if defined __USE_BSD || defined __USE_XOPEN
# define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
+#endif
+#ifdef __USE_BSD
# define OXTABS TAB3 /* Expand tabs to spaces. */
# define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
#endif