opnsense-ports/games/nxengine/files/patch-src_graphics_screenshot.cpp
Franco Fichtner c56079aea5 */*: sync with upstream
Taken from: HardenedBSD
2018-03-30 06:45:57 +02:00

11 lines
303 B
C++

--- src/graphics/screenshot.cpp.orig 2018-03-24 09:37:42 UTC
+++ src/graphics/screenshot.cpp
@@ -1,7 +1,7 @@
#include "pngfuncs.h"
#include "graphics.h"
#include "../common/stat.h"
-#if defined(__MACH__)
+#if defined(__MACH__) || defined (__FreeBSD__)
#include <cstdlib>
#else
#include <malloc.h>