diff options
Diffstat (limited to 'src/z-virt.h')
-rw-r--r-- | src/z-virt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/z-virt.h b/src/z-virt.h index b45f3905..9b725be5 100644 --- a/src/z-virt.h +++ b/src/z-virt.h @@ -11,6 +11,10 @@ #ifndef INCLUDED_Z_VIRT_H #define INCLUDED_Z_VIRT_H +#ifdef __cplusplus +extern "C" { +#endif + #include "h-basic.h" #ifdef CHECK_MEMORY_LEAKS @@ -173,7 +177,10 @@ extern errr string_free(cptr str); +#ifdef __cplusplus +} /* extern "C" */ #endif +#endif |