Module Name: src
Committed By: bouyer
Date: Tue Apr 18 21:29:40 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can_var.h
Log Message:
include socketvar.h, so avoid a warning on struct sockopt *
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/netcan/can_var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netcan/can_var.h
diff -u src/sys/netcan/can_var.h:1.1.2.6 src/sys/netcan/can_var.h:1.1.2.7
--- src/sys/netcan/can_var.h:1.1.2.6 Tue Apr 18 20:37:38 2017
+++ src/sys/netcan/can_var.h Tue Apr 18 21:29:40 2017
@@ -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 @@ struct can_ifreq {
};
#ifdef _KERNEL
+#include <sys/socketvar.h>
/*
* common structure for CAN interface drivers. Should be at the start of