Skip to content

Commit

Permalink
Define _NETBSD_SOURCE for mincore(2) (mono#3380)
Browse files Browse the repository at this point in the history
  • Loading branch information
krytarowski authored and vargaz committed Aug 9, 2016
1 parent 615f644 commit 3e6701d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions support/sys-mman.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3e6701d

Please sign in to comment.