diff options
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r-- | ext/SDBM_File/sdbm/sdbm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.c b/ext/SDBM_File/sdbm/sdbm.c index 46be83e560..f01a08a145 100644 --- a/ext/SDBM_File/sdbm/sdbm.c +++ b/ext/SDBM_File/sdbm/sdbm.c @@ -37,10 +37,17 @@ #include <errno.h> /* See notes in perl.h about avoiding extern int errno; */ +#ifdef __cplusplus +extern "C" { +#endif extern Malloc_t malloc proto((MEM_SIZE)); extern Free_t free proto((Malloc_t)); +#ifdef __cplusplus +} +#endif + /* * forward */ |