summaryrefslogtreecommitdiff
path: root/media-libs/fidlib/files/fidlib-0.9.10-extern.patch
blob: 691a9e273c466f79cada756e158936e4f5174c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/fidlib.h
+++ b/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 */