svn commit: r286110 - head/sys/net
John-Mark Gurney
jmg at FreeBSD.org
Fri Jul 31 07:48:09 UTC 2015
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
More information about the svn-src-all
mailing list