about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--bits/termios.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 20818828b6..6a53c06c02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
 	* nscd/nscd-client.h: Include <time.h>.
 	* sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
 	9th parameter to __vm_region instead of int.
+	* bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
 
 2015-03-19  Roland McGrath  <roland@hack.frob.com>
 
diff --git a/bits/termios.h b/bits/termios.h
index 8a2fcafdf1..460729dacd 100644
--- a/bits/termios.h
+++ b/bits/termios.h
@@ -230,7 +230,9 @@ struct termios
 #endif
 #define	_IEXTEN	(1 << 10)	/* Enable DISCARD and LNEXT.  */
 #define	IEXTEN	_IEXTEN
-#define	EXTPROC	(1 << 11)	/* External processing.  */
+#ifdef	__USE_MISC
+# define EXTPROC	(1 << 11)	/* External processing.  */
+#endif
 #define	_TOSTOP	(1 << 22)	/* Send SIGTTOU for background output.  */
 #define	TOSTOP	_TOSTOP
 #ifdef	__USE_MISC