aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/dtc/input_buffer.cc
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2013-02-19 18:28:25 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2013-02-19 18:28:25 +0000
commiteaef137cbea2de74694b479ca41d4d1dd38d2d18 (patch)
treeb0e0f64d4400a97b21096e767d8ef2419d7db7c1 /usr.bin/dtc/input_buffer.cc
parentfd7e68271969f2a6a2b4a10cbc451c090ac276a3 (diff)
Notes
Diffstat (limited to 'usr.bin/dtc/input_buffer.cc')
-rw-r--r--usr.bin/dtc/input_buffer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/dtc/input_buffer.cc b/usr.bin/dtc/input_buffer.cc
index 2a483f3286469..10b3a0018be3a 100644
--- a/usr.bin/dtc/input_buffer.cc
+++ b/usr.bin/dtc/input_buffer.cc
@@ -43,6 +43,10 @@
#include <sys/mman.h>
#include <assert.h>
+#ifndef MAP_PREFAULT_READ
+#define MAP_PREFAULT_READ 0
+#endif
+
namespace dtc
{