view patches/freebsd4-runtime-gcc-4.8.2.patch @ 6250:337794c9106a

Fix cross/gcc build for freebsd-x86 This commit can success following commands. bin/gub freebsd-x86::hello
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Wed, 22 Oct 2014 00:21:21 +0900
parents
children
line wrap: on
line source

--- a/usr/include/sys/mman.h
+++ b/usr/include/sys/mman.h
@@ -133,6 +133,7 @@
 #ifndef _KERNEL
 
 #include <sys/cdefs.h>
+#include <sys/types.h>
 
 __BEGIN_DECLS
 #ifdef _P1003_1B_VISIBLE