summaryrefslogtreecommitdiff
path: root/games/wesnoth/patches/patch-af
blob: b0bdce9a51df8fa87626eb82f9d130a694add0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-af,v 1.4 2010/08/28 20:08:40 adam Exp $

--- src/preferences.cpp.orig	2010-01-01 13:16:49.000000000 +0000
+++ src/preferences.cpp
@@ -31,6 +31,7 @@
 #include "serialization/parser.hpp"
 
 #include <sys/stat.h> // for setting the permissions of the preferences file
+#include <unistd.h>
 
 static lg::log_domain log_filesystem("filesystem");
 #define ERR_FS LOG_STREAM(err, log_filesystem)