Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63448 - trunk/libs/iostreams/test/detail
From: daniel_james_at_[hidden]
Date: 2010-06-30 08:04:04


Author: danieljames
Date: 2010-06-30 08:04:02 EDT (Wed, 30 Jun 2010)
New Revision: 63448
URL: http://svn.boost.org/trac/boost/changeset/63448

Log:
Fix headers.
Text files modified:
   trunk/libs/iostreams/test/detail/file_handle.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/libs/iostreams/test/detail/file_handle.hpp
==============================================================================
--- trunk/libs/iostreams/test/detail/file_handle.hpp (original)
+++ trunk/libs/iostreams/test/detail/file_handle.hpp 2010-06-30 08:04:02 EDT (Wed, 30 Jun 2010)
@@ -12,13 +12,15 @@
 #include <boost/iostreams/detail/file_handle.hpp>
 #include <boost/iostreams/detail/config/rtl.hpp>
 #include <boost/test/test_tools.hpp>
-#include <fcntl.h>
 #include <string>
 
 #ifdef BOOST_IOSTREAMS_WINDOWS
 # include <io.h> // low-level file i/o.
 # define WINDOWS_LEAN_AND_MEAN
 # include <windows.h>
+#else
+# include <sys/stat.h>
+# include <fcntl.h>
 #endif
 
 namespace boost { namespace iostreams { namespace test {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk