diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1e31c93ea5c..09732cc9bc9 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -4078,6 +4078,10 @@ buffer_slot_type_mismatch (offset) | |||
| 4078 | #endif | 4078 | #endif |
| 4079 | #endif | 4079 | #endif |
| 4080 | 4080 | ||
| 4081 | #ifndef MAP_FAILED | ||
| 4082 | #define MAP_FAILED ((void *) -1) | ||
| 4083 | #endif | ||
| 4084 | |||
| 4081 | #include <stdio.h> | 4085 | #include <stdio.h> |
| 4082 | #include <errno.h> | 4086 | #include <errno.h> |
| 4083 | 4087 | ||