diff options
-rw-r--r-- | Utilities/cmtar/compat/compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Utilities/cmtar/compat/compat.h b/Utilities/cmtar/compat/compat.h index 471bcad..2a3206f 100644 --- a/Utilities/cmtar/compat/compat.h +++ b/Utilities/cmtar/compat/compat.h @@ -16,7 +16,10 @@ # include <libgen.h> #endif - +#ifdef __cplusplus +extern "C" { +#endif + #if defined(NEED_BASENAME) && !defined(HAVE_BASENAME) # ifdef basename @@ -324,3 +327,6 @@ char *strsep(register char **, register const char *); # endif #endif +#ifdef __cplusplus +} +#endif |