summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2013-02-19 18:28:25 +0000
committeruqs <uqs@FreeBSD.org>2013-02-19 18:28:25 +0000
commit6e88c5a765360a8c1663ac824ac82dc5641734a8 (patch)
treeb0e0f64d4400a97b21096e767d8ef2419d7db7c1 /usr.bin/dtc
parent93c07fc1e48c046e06c76eda5315e3eaf46f3ef3 (diff)
downloadFreeBSD-src-6e88c5a765360a8c1663ac824ac82dc5641734a8.zip
FreeBSD-src-6e88c5a765360a8c1663ac824ac82dc5641734a8.tar.gz
dtc: fix bootstrapping from 8.2-STABLE
MFC after: 1 week Approved by: theraven
Diffstat (limited to 'usr.bin/dtc')
-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 2a483f3..10b3a00 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
{
OpenPOWER on IntegriCloud