Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Include socketvar.h for softnet_lock



details:   https://anonhg.NetBSD.org/src/rev/5bbe99cd33bc
branches:  trunk
changeset: 826884:5bbe99cd33bc
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Oct 04 02:25:07 2017 +0000

description:
Include socketvar.h for softnet_lock

diffstat:

 sys/sys/protosw.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9541be0bf099 -r 5bbe99cd33bc sys/sys/protosw.h
--- a/sys/sys/protosw.h Tue Oct 03 23:42:35 2017 +0000
+++ b/sys/sys/protosw.h Wed Oct 04 02:25:07 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: protosw.h,v 1.67 2017/09/27 10:05:05 ozaki-r Exp $     */
+/*     $NetBSD: protosw.h,v 1.68 2017/10/04 02:25:07 ozaki-r Exp $     */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -494,6 +494,8 @@
        return rv;                                      \
 }
 
+#include <sys/socketvar.h> /* for softnet_lock */
+
 #define        PR_WRAP_INPUT(name)                             \
 static void                                            \
 name##_wrapper(struct mbuf *m, ...)                    \



Home | Main Index | Thread Index | Old Index