summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/files/patch-mmap.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
commit56bf85096cc89f91d28671b5d93b4172240263bc (patch)
tree0574ce9eee45d627f943b80b2445882a762b52af /benchmarks/libmicro/files/patch-mmap.c
parentAdd new port -- Rounded Mgen+ Japanese TrueType fonts (diff)
Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'benchmarks/libmicro/files/patch-mmap.c')
-rw-r--r--benchmarks/libmicro/files/patch-mmap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmarks/libmicro/files/patch-mmap.c b/benchmarks/libmicro/files/patch-mmap.c
new file mode 100644
index 000000000000..52a741cc7a75
--- /dev/null
+++ b/benchmarks/libmicro/files/patch-mmap.c
@@ -0,0 +1,10 @@
+--- mmap.c.orig 2011-05-11 00:58:23 UTC
++++ mmap.c
+@@ -28,6 +28,7 @@
+ * Use is subject to license terms.
+ */
+
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #include <unistd.h>
+ #include <stdlib.h>