From 6f53b4a35d7b17571c4de68b5298f24ed1cf6711 Mon Sep 17 00:00:00 2001 From: pooka Date: Wed, 12 Jan 2011 16:12:30 +0000 Subject: [PATCH] make this happy to compile standalone --- sys/rump/net/lib/libshmif/shmif_busops.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys/rump/net/lib/libshmif/shmif_busops.c b/sys/rump/net/lib/libshmif/shmif_busops.c index 2d292f1d6dc7..a28d35a34d37 100644 --- a/sys/rump/net/lib/libshmif/shmif_busops.c +++ b/sys/rump/net/lib/libshmif/shmif_busops.c @@ -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 -__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 #include -#include "shmifvar.h" - #ifndef _KERNEL #include +#include +#include + #define KASSERT(a) assert(a) #else #include #endif +#include "shmifvar.h" + uint32_t shmif_advance(uint32_t oldoff, uint32_t delta) {