diff options
Diffstat (limited to 'emulators/kqemu-kmod/files/patch-common-kqemu_int.h')
-rw-r--r-- | emulators/kqemu-kmod/files/patch-common-kqemu_int.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/kqemu-kmod/files/patch-common-kqemu_int.h b/emulators/kqemu-kmod/files/patch-common-kqemu_int.h new file mode 100644 index 000000000000..1d5edf76be9d --- /dev/null +++ b/emulators/kqemu-kmod/files/patch-common-kqemu_int.h @@ -0,0 +1,19 @@ +--- common/kqemu_int.h.orig ++++ common/kqemu_int.h +@@ -17,8 +17,16 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + #ifndef __ASSEMBLY__ ++#ifdef __FreeBSD__ ++#include <sys/stddef.h> ++#include <machine/stdarg.h> ++#include <sys/cdefs.h> ++#include <machine/_types.h> ++typedef __size_t size_t; ++#else + #include <stddef.h> + #include <stdarg.h> ++#endif + + #ifndef NO_STD_TYPES + |