Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libshmif make this happy to compile standalone



details:   https://anonhg.NetBSD.org/src/rev/e0a5a1b501e9
branches:  trunk
changeset: 760741:e0a5a1b501e9
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 12 16:12:30 2011 +0000

description:
make this happy to compile standalone

diffstat:

 sys/rump/net/lib/libshmif/shmif_busops.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b9c48cbd2f2e -r e0a5a1b501e9 sys/rump/net/lib/libshmif/shmif_busops.c
--- a/sys/rump/net/lib/libshmif/shmif_busops.c  Wed Jan 12 16:08:12 2011 +0000
+++ b/sys/rump/net/lib/libshmif/shmif_busops.c  Wed Jan 12 16:12:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shmif_busops.c,v 1.7 2010/08/17 12:59:53 pooka Exp $   */
+/*     $NetBSD: shmif_busops.c,v 1.8 2011/01/12 16:12:30 pooka Exp $   */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -28,20 +28,23 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.7 2010/08/17 12:59:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shmif_busops.c,v 1.8 2011/01/12 16:12:30 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
 
-#include "shmifvar.h"
-
 #ifndef _KERNEL
 #include <assert.h>
+#include <stdbool.h>
+#include <string.h>
+
 #define KASSERT(a) assert(a)
 #else
 #include <rump/rumpuser.h>
 #endif
 
+#include "shmifvar.h"
+
 uint32_t
 shmif_advance(uint32_t oldoff, uint32_t delta)
 {



Home | Main Index | Thread Index | Old Index