diff options
Diffstat (limited to 'ares/ares_version.h')
-rw-r--r-- | ares/ares_version.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ares/ares_version.h b/ares/ares_version.h index 976540191..cf4491f68 100644 --- a/ares/ares_version.h +++ b/ares/ares_version.h @@ -11,7 +11,15 @@ (ARES_VERSION_PATCH)) #define ARES_VERSION_STR "1.3.1" +#ifdef __cplusplus +extern "C" { +#endif + const char *ares_version(int *version); +#ifdef __cplusplus +} +#endif + #endif |