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 don't build in kernel build.



details:   https://anonhg.NetBSD.org/src/rev/da5852230c8a
branches:  trunk
changeset: 786488:da5852230c8a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 29 18:17:53 2013 +0000

description:
don't build in kernel build.

diffstat:

 sys/rump/net/lib/libshmif/rumpcomp_user.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r d2b54f1ff446 -r da5852230c8a sys/rump/net/lib/libshmif/rumpcomp_user.c
--- a/sys/rump/net/lib/libshmif/rumpcomp_user.c Mon Apr 29 18:06:59 2013 +0000
+++ b/sys/rump/net/lib/libshmif/rumpcomp_user.c Mon Apr 29 18:17:53 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpcomp_user.c,v 1.6 2013/04/29 13:17:32 pooka Exp $ */
+/*      $NetBSD: rumpcomp_user.c,v 1.7 2013/04/29 18:17:53 christos Exp $      */
 
 /*-
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -24,7 +24,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
-
+#ifndef _KERNEL
 #include <sys/types.h>
 #include <sys/mman.h>
 
@@ -200,3 +200,4 @@
 
        return rv;
 }
+#endif



Home | Main Index | Thread Index | Old Index