mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01: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:
parent
04b6478bba
commit
9bb1bd31c8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user