summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2015-07-31 07:48:08 +0000
committerjmg <jmg@FreeBSD.org>2015-07-31 07:48:08 +0000
commite1594f085c4cc245e6b367e2dabfb49100a7a34b (patch)
tree2863ff0c622f77a81d37301275366390b7b113ac /sys/net/pfkeyv2.h
parent8a2d2c1e985f6943e78b08b0854b32321b1bf6da (diff)
downloadFreeBSD-src-e1594f085c4cc245e6b367e2dabfb49100a7a34b.zip
FreeBSD-src-e1594f085c4cc245e6b367e2dabfb49100a7a34b.tar.gz
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...
Diffstat (limited to 'sys/net/pfkeyv2.h')
-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