Module Name:    src
Committed By:   christos
Date:           Tue Mar 19 02:07:44 UTC 2013

Modified Files:
        src/sys/rump/net/lib/libsockin: rumpcomp_user.c

Log Message:
can we please stop breaking the build? These get compiled by the kernel
environment when there are no userland header files!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libsockin/rumpcomp_user.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/libsockin/rumpcomp_user.c
diff -u src/sys/rump/net/lib/libsockin/rumpcomp_user.c:1.1 src/sys/rump/net/lib/libsockin/rumpcomp_user.c:1.2
--- src/sys/rump/net/lib/libsockin/rumpcomp_user.c:1.1	Mon Mar 18 09:14:11 2013
+++ src/sys/rump/net/lib/libsockin/rumpcomp_user.c	Mon Mar 18 22:07:43 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpcomp_user.c,v 1.1 2013/03/18 13:14:11 pooka Exp $	*/
+/*	$NetBSD: rumpcomp_user.c,v 1.2 2013/03/19 02:07:43 christos Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -25,6 +25,7 @@
  * SUCH DAMAGE.
  */
 
+#ifndef _KERNEL
 #include <sys/types.h>
 #include <sys/socket.h>
 
@@ -164,3 +165,4 @@ rumpcomp_sockin_setsockopt(int s, int le
 	seterror();
 	return rv;
 }
+#endif

Reply via email to