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