aboutsummaryrefslogtreecommitdiff
path: root/package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch')
-rw-r--r--package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch b/package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch
new file mode 100644
index 0000000000..faf7ee5fad
--- /dev/null
+++ b/package/pifmrds/pifmrds-0003-rds_wav-strcmp.patch
@@ -0,0 +1,17 @@
+rds_wav: add missign include for strcmp()
+
+strcmp() is declared in string.h, so include it.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+diff -durN pifmrds-c67306ea9b8d827f45e0d90279d367e97119bcb1.orig/src/rds_wav.c pifmrds-c67306ea9b8d827f45e0d90279d367e97119bcb1/src/rds_wav.c
+--- pifmrds-c67306ea9b8d827f45e0d90279d367e97119bcb1.orig/src/rds_wav.c 2014-05-04 18:21:40.000000000 +0200
++++ pifmrds-c67306ea9b8d827f45e0d90279d367e97119bcb1/src/rds_wav.c 2014-06-21 17:39:22.999128453 +0200
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <math.h>
+ #include <sndfile.h>
++#include <string.h>
+
+ #include "rds.h"
+ #include "fm_mpx.h"