openbsd-ports/games/wesnoth/patches/patch-src_preferences_cpp
jasper a2735c2a72 - long overdue update of wesnoth to 1.6.5
joint work with tom murphy
thanks to sthen@ for torturing his armish for countless hours.

ok sthen@
2009-11-11 16:01:33 +00:00

13 lines
346 B
Plaintext

$OpenBSD: patch-src_preferences_cpp,v 1.1 2009/11/11 16:01:34 jasper Exp $
--- src/preferences.cpp.orig Fri Jun 12 15:30:32 2009
+++ src/preferences.cpp Fri Jun 12 15:30:52 2009
@@ -31,6 +31,8 @@
#include <sys/stat.h> // for setting the permissions of the preferences file
+#include <unistd.h>
+
namespace {
bool colour_cursors = false;