From a16e508465c117f88e84d7c6982a26461e57e179 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Thu, 18 Dec 2014 12:30:44 -0600 Subject: [PATCH] wmcdplay: Build on the Hurd. Fails to build from source on GNU/Hurd due to inclusion of a linux-specific header . Instead include . Patch by Samuel Thibault [1], which fixes Debian bug [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/fix_hurd_ftbfs.patch/ [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647964 --- wmcdplay/cdctl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wmcdplay/cdctl.h b/wmcdplay/cdctl.h index 0a008f2..a93619f 100644 --- a/wmcdplay/cdctl.h +++ b/wmcdplay/cdctl.h @@ -30,7 +30,12 @@ #include #include #include +#ifdef __linux__ #include +#endif +#ifdef __GNU__ +#include +#endif // CD status values #define ssData 0