File: fix-build-with-gcc-4.7.patch

package info (click to toggle)
alure 1.2-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: cpp: 4,333; ansic: 629; javascript: 535; makefile: 22
file content (19 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Chris Robinson <chris.kcat@gmail.com>
Date: Thu, 22 Mar 2012 01:01:02 +0000 (-0700)
Origin: upstream, https://repo.or.cz/alure.git/commit/38e56406f47ee1322464e67b8fea8822856af61b
Subject: Add a missing include
---

diff --git a/src/codec_fluidsynth.cpp b/src/codec_fluidsynth.cpp
index a5885e0..bfeb9dc 100644
--- a/src/codec_fluidsynth.cpp
+++ b/src/codec_fluidsynth.cpp
@@ -29,6 +29,8 @@
 #include <assert.h>
 #ifdef _WIN32
 #include <io.h>
+#else
+#include <unistd.h>
 #endif
 
 #include <istream>