Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2017 12:21:29 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325278 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201711011221.vA1CLTTD097161@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Nov  1 12:21:28 2017
New Revision: 325278
URL: https://svnweb.freebsd.org/changeset/base/325278

Log:
  Unconditionally include "opt_inet6.h" in the LinuxKPI.
  This makes sure the INET6 macro gets properly defined,
  also for kernel module builds.
  
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/in6.h

Modified: head/sys/compat/linuxkpi/common/include/linux/in6.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/in6.h	Wed Nov  1 11:43:39 2017	(r325277)
+++ head/sys/compat/linuxkpi/common/include/linux/in6.h	Wed Nov  1 12:21:28 2017	(r325278)
@@ -31,8 +31,6 @@
 #ifndef	_LINUX_IN6_H_
 #define	_LINUX_IN6_H_
 
-#ifndef KLD_MODULE
 #include "opt_inet6.h"
-#endif
 
 #endif	/* _LINUX_IN6_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711011221.vA1CLTTD097161>