Module Name: src
Committed By: pgoyette
Date: Thu Mar 8 01:07:13 UTC 2018
Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_mod.c
Log Message:
Include if.h to get IFNAMSIZE
To generate a diff of this commit:
cvs rdiff -u -r1.24.14.3 -r1.24.14.4 src/sys/compat/common/compat_mod.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/compat_mod.c
diff -u src/sys/compat/common/compat_mod.c:1.24.14.3 src/sys/compat/common/compat_mod.c:1.24.14.4
--- src/sys/compat/common/compat_mod.c:1.24.14.3 Thu Mar 8 00:23:47 2018
+++ src/sys/compat/common/compat_mod.c Thu Mar 8 01:07:13 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_mod.c,v 1.24.14.3 2018/03/08 00:23:47 pgoyette Exp $ */
+/* $NetBSD: compat_mod.c,v 1.24.14.4 2018/03/08 01:07:13 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24.14.3 2018/03/08 00:23:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24.14.4 2018/03/08 01:07:13 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -54,6 +54,8 @@ __KERNEL_RCSID(0, "$NetBSD: compat_mod.c
#include <sys/syscallvar.h>
#include <sys/sysctl.h>
+#include <net/if.h>
+
#include <uvm/uvm_extern.h>
#include <uvm/uvm_object.h>