From f3f08f168fd7da53c896c7b1e0429bb7017fd7fd Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 17 Mar 1999 15:10:17 +0000 Subject: [PATCH] Make cdrom.c compile on FreeBSD (FreeBSD does not seem to have *SEEK, strange). --- misc/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cdrom.c b/misc/cdrom.c index d25085aec73..8d26cef074a 100644 --- a/misc/cdrom.c +++ b/misc/cdrom.c @@ -427,8 +427,8 @@ int CDAUDIO_Seek(WINE_CDAUDIO* wcda, DWORD at) { #if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) int ret = 0; - struct cdrom_msf0 msf; #ifdef linux + struct cdrom_msf0 msf; msf.minute = at / CDFRAMES_PERMIN; msf.second = (at % CDFRAMES_PERMIN) / CDFRAMES_PERSEC; msf.frame = at % CDFRAMES_PERSEC;