Source-Changes-HG archive

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

[src/trunk]: src/sys/net Unbreak lib/libc/net/getifaddrs.c



details:   https://anonhg.NetBSD.org/src/rev/79bc915d74e0
branches:  trunk
changeset: 330255:79bc915d74e0
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Jul 01 14:04:40 2014 +0000

description:
Unbreak lib/libc/net/getifaddrs.c

  --- getifaddrs.o ---
  In file included from /tmp/bracket/build/2014.07.01.10.35.18-i386/src/lib/libc/net/getifaddrs.c:39:0:
  /tmp/bracket/build/2014.07.01.10.35.18-i386/src/sys/net/if.h:208:2: error: unknown type name 'kmutex_t'
    kmutex_t *ifq_lock;
      ^

diffstat:

 sys/net/if.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r bce0598ad431 -r 79bc915d74e0 sys/net/if.h
--- a/sys/net/if.h      Tue Jul 01 13:41:21 2014 +0000
+++ b/sys/net/if.h      Tue Jul 01 14:04:40 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.169 2014/07/01 10:16:02 ozaki-r Exp $ */
+/*     $NetBSD: if.h,v 1.170 2014/07/01 14:04:40 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -79,6 +79,7 @@
 
 #include <sys/socket.h>
 #include <sys/queue.h>
+#include <sys/mutex.h>
 
 #include <net/dlt.h>
 #include <net/pfil.h>
@@ -211,7 +212,6 @@
 struct ifnet_lock;
 
 #ifdef _KERNEL
-#include <sys/mutex.h>
 #include <sys/condvar.h>
 #include <sys/percpu.h>
 



Home | Main Index | Thread Index | Old Index