freebsd-ports/games/ppracer/files/patch-src_ppogl_base_os.cpp
John Marino 671332be8e Add <cstring> and/or <cstdlib> to support modern gcc
(This was support to be with 6 other ports but I forgot to "svn add"
the patch)

Approved by:	gcc5 support blanket
2015-09-20 18:42:06 +00:00

10 lines
220 B
C++

--- src/ppogl/base/os.cpp.orig 2015-09-19 23:30:52 UTC
+++ src/ppogl/base/os.cpp
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <iostream>
+#include <cstring>
#define MAX_BUFFER_SIZE 512