openbsd-ports/games/openttd/patches/patch-src_fileio_cpp
jasper 4b7f2459c3 - update openttd to 1.0.3, fixing a host of security issues along the way
from Anton Yabchinskiy and Daniel Dickman

mk@ drops maintainership, any takers?
2010-09-19 18:52:08 +00:00

12 lines
363 B
Plaintext

$OpenBSD: patch-src_fileio_cpp,v 1.1 2010/09/19 18:52:08 jasper Exp $
--- src/fileio.cpp.orig Mon Mar 15 18:52:39 2010
+++ src/fileio.cpp Tue Apr 6 06:00:41 2010
@@ -29,6 +29,7 @@
#endif
#include <sys/stat.h>
#include <algorithm>
+#include <unistd.h>
/*************************************************/
/* FILE IO ROUTINES ******************************/