Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/dev/lib/libugenhc don't compile the for kernel



details:   https://anonhg.NetBSD.org/src/rev/d2b54f1ff446
branches:  trunk
changeset: 786487:d2b54f1ff446
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 29 18:06:59 2013 +0000

description:
don't compile the for kernel

diffstat:

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

diffs (23 lines):

diff -r 963865f5b8f8 -r d2b54f1ff446 sys/rump/dev/lib/libugenhc/rumpcomp_user.c
--- a/sys/rump/dev/lib/libugenhc/rumpcomp_user.c        Mon Apr 29 18:00:19 2013 +0000
+++ b/sys/rump/dev/lib/libugenhc/rumpcomp_user.c        Mon Apr 29 18:06:59 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpcomp_user.c,v 1.2 2013/04/28 10:23:36 pooka Exp $  */
+/*     $NetBSD: rumpcomp_user.c,v 1.3 2013/04/29 18:06:59 christos Exp $       */
 
 /*
  * Copyright (c) 2007-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/ioctl.h>
 
@@ -50,3 +50,4 @@
 
        return rv;
 }
+#endif



Home | Main Index | Thread Index | Old Index