Source-Changes-HG archive

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

[src/bouyer-socketcan]: src/sys/netcan include socketvar.h, so avoid a warnin...



details:   https://anonhg.NetBSD.org/src/rev/6287f6c51f1b
branches:  bouyer-socketcan
changeset: 820883:6287f6c51f1b
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 18 21:29:40 2017 +0000

description:
include socketvar.h, so avoid a warning on struct sockopt *

diffstat:

 sys/netcan/can_var.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7e77b5f80a73 -r 6287f6c51f1b sys/netcan/can_var.h
--- a/sys/netcan/can_var.h      Tue Apr 18 20:48:07 2017 +0000
+++ b/sys/netcan/can_var.h      Tue Apr 18 21:29:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: can_var.h,v 1.1.2.6 2017/04/18 20:37:38 bouyer Exp $   */
+/*     $NetBSD: can_var.h,v 1.1.2.7 2017/04/18 21:29:40 bouyer Exp $   */
 
 /*-
  * Copyright (c) 2003, 2017 The NetBSD Foundation, Inc.
@@ -41,6 +41,7 @@
 };
 
 #ifdef _KERNEL
+#include <sys/socketvar.h>
 
 /*
  * common structure for CAN interface drivers. Should be at the start of



Home | Main Index | Thread Index | Old Index