You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch

29 lines
613 B

--- a/Sources/GL/opengl.cpp
+++ b/Sources/GL/opengl.cpp
@@ -51,6 +51,8 @@
#endif
#endif
+#include <cstring>
+
std::vector<std::string> CL_OpenGL::m_ignored_gl_extension;
CL_ProcAddress *CL_OpenGL::get_proc_address(const std::string& function_name)
@@ -414,4 +416,4 @@
#endif
m_ignored_gl_extension.push_back(extension_name);
-}
\ No newline at end of file
+}
--- a/Sources/Network/Socket/ip_address_getsock.cpp
+++ b/Sources/Network/Socket/ip_address_getsock.cpp
@@ -40,6 +40,7 @@
#include "ip_address_getsock.h"
#include <cstdlib>
+#include <cstring>
#ifndef WIN32
#include <sys/socket.h>