Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2015 07:48:09 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286110 - head/sys/net
Message-ID:  <201507310748.t6V7m9pa091593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Fri Jul 31 07:48:08 2015
New Revision: 286110
URL: https://svnweb.freebsd.org/changeset/base/286110

Log:
  temporarily fix build..  This isn't the final fix, and testing is
  still on going, but it has passed world for mips and powerpc...
  
  I know this has an extra semicolon, but this is the patch that is
  tested...
  
  Looks like better fix is to use _Static_assert...

Modified:
  head/sys/net/pfkeyv2.h

Modified: head/sys/net/pfkeyv2.h
==============================================================================
--- head/sys/net/pfkeyv2.h	Fri Jul 31 07:04:33 2015	(r286109)
+++ head/sys/net/pfkeyv2.h	Fri Jul 31 07:48:08 2015	(r286110)
@@ -39,6 +39,10 @@
 #ifndef _NET_PFKEYV2_H_
 #define _NET_PFKEYV2_H_
 
+#ifndef _KERNEL
+#define CTASSERT(x)	struct __thisisjustnothing;
+#endif
+
 /*
 This file defines structures and symbols for the PF_KEY Version 2
 key management interface. It was written at the U.S. Naval Research



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