diff options
Diffstat (limited to 'media-libs/fidlib/files/fidlib-0.9.10-extern.patch')
-rw-r--r-- | media-libs/fidlib/files/fidlib-0.9.10-extern.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/fidlib/files/fidlib-0.9.10-extern.patch b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch new file mode 100644 index 000000000000..0e819942907e --- /dev/null +++ b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch @@ -0,0 +1,26 @@ +--- fidlib-0.9.10/fidlib.h ++++ fidlib-0.9.10/fidlib.h +@@ -2,6 +2,13 @@ + // fidlib include file + // + ++#ifndef __FIDLIB_H ++#define __FIDLIB_H ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + typedef struct FidFilter FidFilter; + struct FidFilter { + short typ; // Type of filter element 'I' IIR, 'F' FIR, or 0 for end of list +@@ -66,3 +73,9 @@ + extern void fid_run_zapbuf(void *buf); + extern void fid_run_freebuf(void *runbuf); + extern void fid_run_free(void *run); ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* __FIDLIB_H */ |