1f746dd600
to get fstat and struct stat on DragonFly.
17 lines
345 B
Text
17 lines
345 B
Text
$NetBSD: patch-ab,v 1.2 2005/12/20 11:05:54 joerg Exp $
|
|
|
|
--- MappedFile.cc.orig 2003-10-29 16:44:39.000000000 +0000
|
|
+++ MappedFile.cc
|
|
@@ -4,9 +4,12 @@
|
|
#include <io.h>
|
|
#define PATH_MAX MAX_PATH
|
|
#else
|
|
+#include <sys/types.h>
|
|
#include <sys/mman.h>
|
|
+#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
+#include <stdio.h>
|
|
|
|
#endif
|
|
|