From f17b930638e075e33677bfdd7c4dd68078b8ac82 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 30 Oct 2018 06:45:44 -0700 Subject: Add extern "C" for router.h --- router/router.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'router') 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 */ -- cgit v1.2.3