diff options
-rw-r--r-- | router/router.h | 8 |
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 */ |