Source-Changes-HG archive

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

[src/trunk]: src/sys/net tun(4): Add missing includes in if_tun.h.



details:   https://anonhg.NetBSD.org/src/rev/cd41309baa16
branches:  trunk
changeset: 363496:cd41309baa16
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Mar 13 21:31:58 2022 +0000

description:
tun(4): Add missing includes in if_tun.h.

diffstat:

 sys/net/if_tun.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 56f58a4c74d1 -r cd41309baa16 sys/net/if_tun.h
--- a/sys/net/if_tun.h  Sun Mar 13 21:31:47 2022 +0000
+++ b/sys/net/if_tun.h  Sun Mar 13 21:31:58 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tun.h,v 1.20 2017/01/26 21:13:19 skrll Exp $        */
+/*     $NetBSD: if_tun.h,v 1.21 2022/03/13 21:31:58 riastradh Exp $    */
 
 /*
  * Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -22,6 +22,16 @@
 #include <sys/ioccom.h>
 
 #ifdef _KERNEL
+
+#include <sys/types.h>
+
+#include <sys/condvar.h>
+#include <sys/mutex.h>
+#include <sys/queue.h>
+#include <sys/select.h>
+
+#include <net/if.h>
+
 struct tun_softc {
        struct  ifnet tun_if;           /* the interface */
 



Home | Main Index | Thread Index | Old Index