fb633e
This is part of commit glibc-2.3.3-1564-gd0b6ac6
fb633e
fb633e
* Fri Mar 14 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-11
fb633e
- remove <stropts.h>, define _XOPEN_STREAMS -1 (#436349)
fb633e
fb633e
diff -Nrup a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
Siddhesh Poyarekar 9eb38c
--- a/sysdeps/unix/sysv/linux/bits/posix_opt.h	2012-06-05 07:42:49.000000000 -0600
Siddhesh Poyarekar 9eb38c
+++ b/sysdeps/unix/sysv/linux/bits/posix_opt.h	2012-06-07 12:15:21.817318674 -0600
fb633e
@@ -188,4 +188,7 @@
fb633e
 /* Typed memory objects are not available.  */
fb633e
 #define _POSIX_TYPED_MEMORY_OBJECTS	-1
fb633e
 
fb633e
+/* Streams are not available.  */
fb633e
+#define _XOPEN_STREAMS	-1
fb633e
+
fb633e
 #endif /* bits/posix_opt.h */
fb633e
diff -Nrup a/streams/Makefile b/streams/Makefile
fb633e
--- a/streams/Makefile	2012-06-05 07:42:49.000000000 -0600
fb633e
+++ b/streams/Makefile	2012-06-07 12:15:21.824318649 -0600
fb633e
@@ -20,7 +20,7 @@
Siddhesh Poyarekar 51574b
 
Siddhesh Poyarekar 51574b
 include ../Makeconfig
fb633e
 
fb633e
-headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
fb633e
+#headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
fb633e
 routines	= isastream getmsg getpmsg putmsg putpmsg fattach fdetach
fb633e
 
fb633e
 include ../Rules