summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-20 23:15:27 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-20 23:15:27 +0000
commit9bb1bd31c8a26090a82849ca1fa2ae17dd95afc0 (patch)
tree9ccc5c82a20fc1f6c3bf77b35c38990d9fc4b408 /libmpdemux
parent04b6478bbac067234450223929f99b0457e334a0 (diff)
downloadmpv-9bb1bd31c8a26090a82849ca1fa2ae17dd95afc0.tar.bz2
mpv-9bb1bd31c8a26090a82849ca1fa2ae17dd95afc0.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mov.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index 73a857ba5c..c32f88ff61 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -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