blob: caf85263e72c876212e7eba2973cb28691dcf407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_runtime_gencgc.c,v 1.1 2016/10/12 11:35:48 asau Exp $
--- src/runtime/gencgc.c.orig 2016-09-30 16:41:12.000000000 +0000
+++ src/runtime/gencgc.c
@@ -24,6 +24,10 @@
* <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>.
*/
+#if defined(__NetBSD__)
+#define _KERNTYPES
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
|