diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index e64c8ac38e..462c41210f 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -56,6 +56,13 @@ #include +#ifdef __CYGWIN__ +#include +#ifndef _swab +#define _swab swab +#endif +#endif + GST_DEBUG_CATEGORY_STATIC (directsoundsink_debug); #define GST_CAT_DEFAULT directsoundsink_debug