summaryrefslogtreecommitdiff
path: root/homebrew/libxspf/patches.sh
blob: 46aa53aeacf5bf2f9a462811d4ed00946059d2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
diff --git a/examples/read/read.cpp b/examples/read/read.cpp
index 411f892..b66a25c 100644
--- a/examples/read/read.cpp
+++ b/examples/read/read.cpp
@@ -43,6 +43,7 @@
 #include <cstdio>
 #include <cstdlib> // MAX_PATH
 #include <climits> // PATH_MAX
+#include <unistd.h>


 #if defined(__WIN32__) || defined(WIN32)
EOF