1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/lang/polyml/files/patch-driver-mmap.c
Simon Barner fbc1517ea7 Add polyml 4.1.3, a fast open-source implementation of Standard ML.
PR:		83433
Submitted by:	Timothy Bourke <timbob@bigpond.com>
2005-07-29 07:19:56 +00:00

12 lines
329 B
C

--- mmap.c.orig Fri Jun 10 09:54:34 2005
+++ mmap.c Fri Jun 10 09:55:57 2005
@@ -60,7 +60,7 @@
#include <sys/uio.h>
#include <sys/param.h>
#include <unistd.h>
-#ifdef MACOSX
+#if (defined(FREEBSD) || defined(MACOSX))
#include <limits.h>
#else
#include <values.h> /* FreeBSD warns about this but it's needed in Solaris. */