diff options
author | uqs <uqs@FreeBSD.org> | 2013-02-19 18:28:25 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2013-02-19 18:28:25 +0000 |
commit | 6e88c5a765360a8c1663ac824ac82dc5641734a8 (patch) | |
tree | b0e0f64d4400a97b21096e767d8ef2419d7db7c1 /usr.bin/dtc | |
parent | 93c07fc1e48c046e06c76eda5315e3eaf46f3ef3 (diff) | |
download | FreeBSD-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.cc | 4 |
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 { |