Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/common Include if.h to get IFNAMSIZE



details:   https://anonhg.NetBSD.org/src/rev/21f843e7a06e
branches:  pgoyette-compat
changeset: 830384:21f843e7a06e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Mar 08 01:07:13 2018 +0000

description:
Include if.h to get IFNAMSIZE

diffstat:

 sys/compat/common/compat_mod.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 089a6bdd6935 -r 21f843e7a06e sys/compat/common/compat_mod.c
--- a/sys/compat/common/compat_mod.c    Thu Mar 08 00:25:30 2018 +0000
+++ b/sys/compat/common/compat_mod.c    Thu Mar 08 01:07:13 2018 +0000
@@ -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 @@
 #include <sys/syscallvar.h>
 #include <sys/sysctl.h>
 
+#include <net/if.h>
+
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm_object.h>
 



Home | Main Index | Thread Index | Old Index