2010-05-21 08:33:49 +02:00
|
|
|
diff -Nur libofa-0.9.3.orig//examples/example.cpp libofa-0.9.3/examples/example.cpp
|
|
|
|
--- libofa-0.9.3.orig//examples/example.cpp 2006-05-10 13:05:37.000000000 -0500
|
|
|
|
+++ libofa-0.9.3/examples/example.cpp 2010-05-21 00:41:32.566411537 -0500
|
|
|
|
@@ -9,6 +9,9 @@
|
2010-05-12 23:30:37 +02:00
|
|
|
|
|
|
|
#include "protocol.h"
|
|
|
|
|
|
|
|
+#include <string.h>
|
2010-05-21 08:33:49 +02:00
|
|
|
+#include <stdio.h>
|
2010-05-12 23:30:37 +02:00
|
|
|
+
|
|
|
|
AudioData* loadWaveFile(char *file);
|
|
|
|
AudioData* loadDataUsingLAME(char *file);
|
|
|
|
|
2010-05-21 08:33:49 +02:00
|
|
|
diff -Nur libofa-0.9.3.orig//examples/protocol.cpp libofa-0.9.3/examples/protocol.cpp
|
|
|
|
--- libofa-0.9.3.orig//examples/protocol.cpp 2006-05-10 13:05:42.000000000 -0500
|
|
|
|
+++ libofa-0.9.3/examples/protocol.cpp 2010-05-21 00:41:21.948412917 -0500
|
2010-05-12 23:30:37 +02:00
|
|
|
@@ -8,6 +8,7 @@
|
|
|
|
-------------------------------------------------------------------*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
+#include <cstring>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
#include <expat.h>
|
2010-05-21 08:33:49 +02:00
|
|
|
diff -Nur libofa-0.9.3.orig//lib/signal_op.cpp libofa-0.9.3/lib/signal_op.cpp
|
|
|
|
--- libofa-0.9.3.orig//lib/signal_op.cpp 2006-05-10 13:01:12.000000000 -0500
|
|
|
|
+++ libofa-0.9.3/lib/signal_op.cpp 2010-05-21 00:41:21.948412917 -0500
|
2010-05-12 23:30:37 +02:00
|
|
|
@@ -12,6 +12,7 @@
|
|
|
|
// DATE CREATED: 1/12/06
|
|
|
|
|
|
|
|
|
|
|
|
+#include <cstdlib>
|
|
|
|
#include <math.h>
|
|
|
|
#include "signal_op.h"
|
|
|
|
#include "AFLIB/aflibConverter.h"
|