summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-16 08:18:00 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:10:32 -0500
commite71ac90f6c7e11b1abc0ef0380853dd16e6f80f4 (patch)
treef399792f78ffa86c4f762aedf5abe8586b91fa7b /sys/net
parent7cb0430572e4dc864b7b0cd7876d037a0757cbdb (diff)
downloadFreeBSD-src-e71ac90f6c7e11b1abc0ef0380853dd16e6f80f4.zip
FreeBSD-src-e71ac90f6c7e11b1abc0ef0380853dd16e6f80f4.tar.gz
MFC r286110:
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... TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 0fe3c96..dcd67675 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -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
OpenPOWER on IntegriCloud