diff options
-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 { |