Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xen build fix: add back <sys/malloc.h>. malloc(...



details:   https://anonhg.NetBSD.org/src/rev/449b9e64e19d
branches:  trunk
changeset: 771898:449b9e64e19d
user:      cegger <cegger%NetBSD.org@localhost>
date:      Wed Dec 07 13:49:04 2011 +0000

description:
build fix: add back <sys/malloc.h>. malloc(9) is still in use.

diffstat:

 sys/arch/xen/xen/evtchn.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 565eaefea7bf -r 449b9e64e19d sys/arch/xen/xen/evtchn.c
--- a/sys/arch/xen/xen/evtchn.c Wed Dec 07 13:24:04 2011 +0000
+++ b/sys/arch/xen/xen/evtchn.c Wed Dec 07 13:49:04 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: evtchn.c,v 1.57 2011/12/07 12:31:51 cherry Exp $       */
+/*     $NetBSD: evtchn.c,v 1.58 2011/12/07 13:49:04 cegger Exp $       */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -54,7 +54,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.57 2011/12/07 12:31:51 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.58 2011/12/07 13:49:04 cegger Exp $");
 
 #include "opt_xen.h"
 #include "isa.h"
@@ -66,6 +66,7 @@
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/proc.h>
+#include <sys/malloc.h>
 #include <sys/kmem.h>
 #include <sys/reboot.h>
 #include <sys/mutex.h>



Home | Main Index | Thread Index | Old Index