opnsense-ports/devel/libunwind/files/patch-tests-mapper.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
348 B
C

--- tests/mapper.c.orig 2014-10-06 14:46:27.000000000 -0400
+++ tests/mapper.c 2014-10-06 14:47:00.000000000 -0400
@@ -39,6 +39,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
# define MAP_ANONYMOUS MAP_ANON
#endif
+#if !defined(MAP_NORESERVE)
+# define MAP_NORESERVE 0
+#endif
int
main (void)