mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
Avoid including a header file twice to prevent Cygwin gcc 2.95.3-10 from
crashing. Also Fixes compilation with --disable-streaming on Cygwin gcc 3.2 where the include appears to be needed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9952 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -44,8 +44,7 @@
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
// inclusion of fcntl.h cause cygwin gcc crash
|
||||
#ifndef __CYGWIN__
|
||||
#ifndef _FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user