Module Name:    src
Committed By:   pooka
Date:           Wed Jan 12 16:12:31 UTC 2011

Modified Files:
        src/sys/rump/net/lib/libshmif: shmif_busops.c

Log Message:
make this happy to compile standalone


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/rump/net/lib/libshmif/shmif_busops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libshmif/shmif_busops.c
diff -u src/sys/rump/net/lib/libshmif/shmif_busops.c:1.7 src/sys/rump/net/lib/libshmif/shmif_busops.c:1.8
--- src/sys/rump/net/lib/libshmif/shmif_busops.c:1.7	Tue Aug 17 12:59:53 2010
+++ src/sys/rump/net/lib/libshmif/shmif_busops.c	Wed Jan 12 16:12:30 2011
@@ -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)
 {

Reply via email to