mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.5 KiB
Diff
53 lines
1.5 KiB
Diff
--- examples/example.cpp.orig 2006-05-10 13:05:37.000000000 -0500
|
|
+++ examples/example.cpp 2022-01-12 19:20:35.000000000 -0600
|
|
@@ -8,6 +8,9 @@
|
|
-------------------------------------------------------------------*/
|
|
|
|
#include "protocol.h"
|
|
+#include <cstdio>
|
|
+#include <cctype>
|
|
+#include <string.h>
|
|
|
|
AudioData* loadWaveFile(char *file);
|
|
AudioData* loadDataUsingLAME(char *file);
|
|
--- examples/protocol.cpp.orig 2022-01-12 19:17:52.000000000 -0600
|
|
+++ examples/protocol.cpp 2022-01-12 19:20:34.000000000 -0600
|
|
@@ -8,6 +8,7 @@
|
|
-------------------------------------------------------------------*/
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <cstring>
|
|
#include <string>
|
|
#include <map>
|
|
#include <expat.h>
|
|
--- examples/uselame.cpp.orig 2006-05-10 13:05:51.000000000 -0500
|
|
+++ examples/uselame.cpp 2022-01-12 19:20:37.000000000 -0600
|
|
@@ -11,6 +11,7 @@
|
|
#include "windows.h"
|
|
#else
|
|
#include <sys/wait.h>
|
|
+#include <unistd.h>
|
|
#endif
|
|
|
|
AudioData *loadWaveFile(char *file);
|
|
--- examples/wavefile.cpp.orig 2006-05-10 13:05:56.000000000 -0500
|
|
+++ examples/wavefile.cpp 2022-01-12 19:20:37.000000000 -0600
|
|
@@ -11,6 +11,7 @@
|
|
#include "io.h"
|
|
#endif
|
|
#include <fcntl.h>
|
|
+#include <unistd.h>
|
|
|
|
static bool readBytes(int fd, unsigned char *buf, int size) {
|
|
int ct = 0;
|
|
--- lib/signal_op.cpp.orig 2006-05-10 13:01:12.000000000 -0500
|
|
+++ lib/signal_op.cpp 2022-01-12 19:20:34.000000000 -0600
|
|
@@ -12,6 +12,7 @@
|
|
// DATE CREATED: 1/12/06
|
|
|
|
|
|
+#include <cstdlib>
|
|
#include <math.h>
|
|
#include "signal_op.h"
|
|
#include "AFLIB/aflibConverter.h"
|