From 08caa6bfb7161ce68a5f074f0f9726acdc650a0d Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Sat, 13 Apr 2013 16:19:20 -0300 Subject: [PATCH] Fix build on Cygwin Signed-off-by: Claudio Matsuoka --- Changelog | 1 + INSTALL | 2 ++ src/commands.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/Changelog b/Changelog index 3590754..1100c42 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ Stable versions 4.0.3 (): - Fix native-endian coreaudio output (reported by Misty De Meo) - Fix MinGW32 build (reported by vaseleos0) + - Fix Cygwin build (reported by Benjamin Shadwick) New features requested by Benjamin Shadwick: - Add commands '<' and '>' to jump to previous/next sequence diff --git a/INSTALL b/INSTALL index a884e83..a7a39dd 100644 --- a/INSTALL +++ b/INSTALL @@ -23,6 +23,8 @@ $ make Use ./configure --with-libxmp=/some/path if libxmp is installed in a nonstandard place. +To build on Cygwin you may need to pass --with-libxmp=/usr/local. + Installation ------------ diff --git a/src/commands.c b/src/commands.c index 6c9f4ca..3acd6d0 100644 --- a/src/commands.c +++ b/src/commands.c @@ -14,6 +14,8 @@ #include "common.h" #ifdef __CYGWIN__ +#include + /* * from daniel åkerud * date Tue, Jul 28, 2009 at 9:59 AM