projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[xbuild] Bump buildtools to get support for netstandard 1.6
[mono.git]
/
support
/
sys-mman.c
diff --git
a/support/sys-mman.c
b/support/sys-mman.c
index 15e125621d2d03b1596d3ed737dcab38019d8430..1dd61bc372b5343cce83bf8a677c190aca969a05 100644
(file)
--- a/
support/sys-mman.c
+++ b/
support/sys-mman.c
@@
-22,6
+22,11
@@
#define __BSD_VISIBLE 1
#endif
+#ifdef __NetBSD__
+/* For mincore () */
+#define _NETBSD_SOURCE
+#endif
+
#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>