Include <cerrno> in src/c++11/random.cc
authorGerald Pfeifer <gerald@pfeifer.com>
Thu, 17 Sep 2015 21:28:00 +0000 (21:28 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 17 Sep 2015 21:28:00 +0000 (22:28 +0100)
2015-09-17  Gerald Pfeifer  <gerald@pfeifer.com>

* src/c++11/random.cc: Include <cerrno>.

From-SVN: r227887

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/random.cc

index b11698426b4e7a081cc5a1b1fd564d3a59b6c140..8de683ecd86979c40c8981c16619c88e806bf59a 100644 (file)
@@ -1,3 +1,7 @@
+2015-09-17  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * src/c++11/random.cc: Include <cerrno>.
+
 2015-09-17  François Dumont  <fdumont@gcc.gnu.org>
 
        * include/debug/formatter.h
index f1d6125128a8b450001f74cf8031d3bb9d3939a2..df3572a16176c2bcdfe5d9d1f060a83cfe1e39f7 100644 (file)
@@ -31,6 +31,7 @@
 # include <cpuid.h>
 #endif
 
+#include <cerrno>
 #include <cstdio>
 
 #ifdef _GLIBCXX_HAVE_UNISTD_H