From 7f34641ce236e5d7fc6bbb5558cde6ec4f4a8b57 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 26 Mar 2019 15:31:50 +0100 Subject: [PATCH] add missing extern C declaration --- include/villas/super_node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/villas/super_node.h b/include/villas/super_node.h index 7e4729ae3..e7ab761e1 100644 --- a/include/villas/super_node.h +++ b/include/villas/super_node.h @@ -21,6 +21,15 @@ * along with this program. If not, see . *********************************************************************************/ +#pragma once + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Forward declarations */ struct vlist; struct web; struct super_node; @@ -45,3 +54,7 @@ enum state web_get_state(struct web *w); #ifdef WITH_WEB int web_callback_on_writable(struct web *w, struct lws *wsi); #endif + +#ifdef __cplusplus +} +#endif