aboutsummaryrefslogtreecommitdiffstats
path: root/router/router.h
diff options
context:
space:
mode:
Diffstat (limited to 'router/router.h')
-rw-r--r--router/router.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/router/router.h b/router/router.h
index 32a91dcb..36c825d4 100644
--- a/router/router.h
+++ b/router/router.h
@@ -15,6 +15,10 @@
#include "threads.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef UNUSED
#if defined(__cplusplus)
#define UNUSED(x)
@@ -194,4 +198,8 @@ extern FILE *LogFile;
} \
} while(0)
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* ROUTER_ROUTER_H */