summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-05-29 22:55:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-05-29 22:55:14 +0000
commit35c891653e37624fe9a6fdcd47cd62fd1cd5d186 (patch)
treece4a0217d21aa1d16473477fba7ee48400d72c52
parent449da007be88f297d1031eb311c944e5fcb2f2f3 (diff)
Eviscerate stropts.h so configure scripts won't try to use STREAMS
garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
-rw-r--r--include/stropts.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/stropts.h b/include/stropts.h
index f3d7f1df1..12c551aa3 100644
--- a/include/stropts.h
+++ b/include/stropts.h
@@ -16,6 +16,12 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+/* uClibc does not provide _any_ support for STREAMS. So this header file is
+ * here for applications that foolishly include stropts.h but do not use it...
+ * Any application that actually _uses_ stropts.h needs to be fixed.
+ */
+
+#if 0
#ifndef _STROPTS_H
#define _STROPTS_H 1
@@ -77,5 +83,6 @@ extern int fattach (int __fildes, __const char *__path) __THROW;
extern int fdetach (__const char *__path) __THROW;
__END_DECLS
-
#endif /* stropts.h */
+#endif /* if 0 */
+