summaryrefslogtreecommitdiffstats
path: root/stream/tvi_v4l2.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-29 20:05:08 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-29 20:05:08 +0000
commit3af860b877587ab276388956e797a7ad04cd41e3 (patch)
tree72ec51bfb57ae90faf65e7e87aedc870bef31ca8 /stream/tvi_v4l2.c
parent6c30638aa150adad54c0961e70af25f8014a9ba9 (diff)
downloadmpv-3af860b877587ab276388956e797a7ad04cd41e3.tar.bz2
mpv-3af860b877587ab276388956e797a7ad04cd41e3.tar.xz
Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
This is what it is called in FFmpeg and more consistent with other names for similar conditionals. This fixes a potential compilation failure on MinGW, as described in Bugzilla #1262. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_v4l2.c')
-rw-r--r--stream/tvi_v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c
index fc23727f9f..7a15a9b0be 100644
--- a/stream/tvi_v4l2.c
+++ b/stream/tvi_v4l2.c
@@ -35,6 +35,7 @@ known issues:
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <math.h>
#ifdef HAVE_SYS_SYSINFO_H
#include <sys/sysinfo.h>
#endif