about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ioctls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/ioctls.h')
-rw-r--r--sysdeps/mach/hurd/ioctls.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/ioctls.h b/sysdeps/mach/hurd/ioctls.h
index 8036fd700d..f6bb4b4ce7 100644
--- a/sysdeps/mach/hurd/ioctls.h
+++ b/sysdeps/mach/hurd/ioctls.h
@@ -20,6 +20,27 @@ Cambridge, MA 02139, USA.  */
 
 #define	_IOCTLS_H	1
 
+/* These macros are also defined in termbits.h (with numerically 
+   identical values) but this serves to shut up cpp's complaining. */
+#ifdef MDMBUF
+#undef MDMBUF
+#endif
+#ifdef ECHO
+#undef ECHO
+#endif
+#ifdef TOSTOP
+#undef TOSTOP
+#endif
+#ifdef FLUSHO
+#undef FLUSHO
+#endif
+#ifdef PENDIN
+#undef PENDIN
+#endif
+#ifdef NOFLSH
+#undef NOFLSH
+#endif
+
 /* Hurd ioctl request are made up of several fields:
 
     10987654321098765432109876543210