Index: src/dvd_input.c =================================================================== --- src/dvd_input.c (revision 1173) +++ src/dvd_input.c (working copy) @@ -165,7 +165,7 @@ } /* Open the device */ -#ifndef WIN32 +#if !defined(WIN32) && !defined(__OS2__) dev->fd = open(target, O_RDONLY); #else dev->fd = open(target, O_RDONLY | O_BINARY);