Commit d2d96bbb authored by Gildas Bazin's avatar Gildas Bazin

* configure.aci, modules/demux/livedotcom.cpp: win32 compilation fixes.
parent a4669bcc
dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.107 2003/11/07 21:44:20 fenrir Exp $
dnl $Id: configure.ac,v 1.108 2003/11/07 22:56:02 gbazin Exp $
AC_INIT(vlc,0.6.3-cvs)
......@@ -1106,6 +1106,11 @@ then
AX_ADD_LDFLAGS([livedotcom],[-L${real_livedotcom_tree}/groupsock -lgroupsock])
AX_ADD_LDFLAGS([livedotcom],[-L${real_livedotcom_tree}/UsageEnvironment -lUsageEnvironment])
if test "${SYS}" = "mingw32"; then
# add ws2_32 for closesocket, select, recv
AX_ADD_LDFLAGS([livedotcom],[-lws2_32])
fi
AX_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/BasicUsageEnvironment/include])
AX_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/groupsock/include])
AX_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/liveMedia/include])
......
......@@ -2,7 +2,7 @@
* live.cpp : live.com support.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: livedotcom.cpp,v 1.4 2003/11/07 18:08:54 fenrir Exp $
* $Id: livedotcom.cpp,v 1.5 2003/11/07 22:56:02 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -32,6 +32,10 @@
#include <codecs.h> /* BITMAPINFOHEADER, WAVEFORMATEX */
#include <iostream>
#if defined( WIN32 )
# include <winsock2.h>
#endif
#include "BasicUsageEnvironment.hh"
#include "GroupsockHelper.hh"
#include "liveMedia.hh"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment