diff --git a/rbutil/bspatch/bspatch.h b/rbutil/bspatch/bspatch.h index 666b460647..46edd5db0c 100644 --- a/rbutil/bspatch/bspatch.h +++ b/rbutil/bspatch/bspatch.h @@ -5,6 +5,15 @@ #ifndef _BSPATCH_H #define _BSPATCH_H +#ifdef __cplusplus +extern "C" { +#endif + int apply_bspatch(const char *infile, const char *outfile, const char *patchfile); +#ifdef __cplusplus +} +#endif + + #endif /* _BSPATCH_H */