[gens-sdl] gens-sdl.cpp: #include <cerrno>
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 02:48:44 +0000 (22:48 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Wed, 2 Sep 2015 02:48:44 +0000 (22:48 -0400)
We're using POSIX error values here, and it's only explicitly included
if we're using -std=c++11 or -std=gnu++11. This might change in the
future, so explicitly #include <cerrno>.

src/gens-sdl/gens-sdl.cpp

index 075b1fc..ca201e7 100644 (file)
@@ -91,6 +91,7 @@ using LibZomg::Zomg;
 #include <cstdio>
 #include <cstdlib>
 #include <cassert>
+#include <cerrno>
 
 // C++ includes.
 #include <string>