summaryrefslogtreecommitdiff
path: root/emulators/frodo/files/patch-SID.cpp
blob: 02858fe6ba035eb85121c6e3e5fce895ba9a9455 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- SID.cpp.orig	2002-01-02 21:18:59 UTC
+++ SID.cpp
@@ -428,7 +428,7 @@ private:
 	int play_buf;					// Number of buffer currently playing
 #endif
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
 	int devfd, sndbufsize, buffer_rate;
 	int16 *sound_buffer;
 #endif
@@ -1351,7 +1351,7 @@ void DigitalRenderer::calc_buffer(int16 
 #elif defined(AMIGA)
 #include "SID_Amiga.i"
 
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
 #include "SID_linux.i"
 
 #elif defined(SUN)