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 include event.h only where used



details:   https://anonhg.NetBSD.org/src/rev/eaac9f315c4b
branches:  trunk
changeset: 786439:eaac9f315c4b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Apr 28 13:38:35 2013 +0000

description:
include event.h only where used

diffstat:

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

diffs (26 lines):

diff -r faadaf06411f -r eaac9f315c4b sys/rump/net/lib/libshmif/rumpcomp_user.c
--- a/sys/rump/net/lib/libshmif/rumpcomp_user.c Sun Apr 28 13:37:51 2013 +0000
+++ b/sys/rump/net/lib/libshmif/rumpcomp_user.c Sun Apr 28 13:38:35 2013 +0000
@@ -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)
 {



Home | Main Index | Thread Index | Old Index