Module Name: src
Committed By: pooka
Date: Sun Apr 28 13:38:35 UTC 2013
Modified Files:
src/sys/rump/net/lib/libshmif: rumpcomp_user.c
Log Message:
include event.h only where used
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/net/lib/libshmif/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/libshmif/rumpcomp_user.c
diff -u src/sys/rump/net/lib/libshmif/rumpcomp_user.c:1.3 src/sys/rump/net/lib/libshmif/rumpcomp_user.c:1.4
--- src/sys/rump/net/lib/libshmif/rumpcomp_user.c:1.3 Sun Apr 28 11:03:25 2013
+++ src/sys/rump/net/lib/libshmif/rumpcomp_user.c Sun Apr 28 13:38:35 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpcomp_user.c,v 1.3 2013/04/28 11:03:25 pooka Exp $ */
+/* $NetBSD: rumpcomp_user.c,v 1.4 2013/04/28 13:38:35 pooka Exp $ */
/*-
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,6 @@
*/
#include <sys/types.h>
-#include <sys/event.h>
#include <errno.h>
@@ -43,6 +42,8 @@
* so just keep the existing interfaces for now.
*/
#if defined(__NetBSD__)
+#include <sys/event.h>
+
int
rumpcomp_shmif_watchsetup(int kq, int fd, int *error)
{