OSDN Git Service

* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Nov 2002 19:12:31 +0000 (19:12 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Nov 2002 19:12:31 +0000 (19:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59141 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/src/ios.cc

index c604d25..33ff5c3 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
+
 2002-11-15  Paolo Carlini  <pcarlini@unitus.it>
             Loren J. Rittle  <ljrittle@acm.org>
 
index dac3a9f..9f4c718 100644 (file)
@@ -38,6 +38,9 @@
 #include <fstream>
 #include <bits/atomicity.h>
 #include <ext/stdio_filebuf.h>
+#ifdef _GLIBCPP_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 namespace __gnu_cxx
 {