projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615f644
)
Define _NETBSD_SOURCE for mincore(2) (#3380)
author
Kamil Rytarowski
<krytarowski@users.noreply.github.com>
Tue, 9 Aug 2016 00:00:44 +0000
(
02:00
+0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 9 Aug 2016 00:00:44 +0000
(
02:00
+0200)
support/sys-mman.c
patch
|
blob
|
history
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>