diff options
Diffstat (limited to 'src/z-util.h')
-rw-r--r-- | src/z-util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/z-util.h b/src/z-util.h index 64871cf2..3fff283d 100644 --- a/src/z-util.h +++ b/src/z-util.h @@ -3,6 +3,10 @@ #ifndef INCLUDED_Z_UTIL_H #define INCLUDED_Z_UTIL_H +#ifdef __cplusplus +extern "C" { +#endif + #include "h-basic.h" @@ -80,5 +84,8 @@ extern void core(cptr str); +#ifdef __cplusplus +} /* extern "C" */ #endif +#endif |