From 19b954f40ce05dbb781810206de6ca38fa47eb76 Mon Sep 17 00:00:00 2001 From: Tim Champagne Date: Fri, 16 May 2003 15:07:35 +0000 Subject: Fix win32 build and start adding additional plugin support CVS patchset: 4867 CVS date: 2003/05/16 15:07:35 --- win32/include/sys/socket.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 win32/include/sys/socket.h (limited to 'win32/include/sys/socket.h') diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h new file mode 100755 index 000000000..65f04ef64 --- /dev/null +++ b/win32/include/sys/socket.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2000-2001 the xine project + * + * This file is part of xine, a unix video player. + * + * xine is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * xine is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * WIN32 PORT, + */ + +#include /* Not sure that this is needed */ + +#include /* open, close, ... */ +#include + +#define SIGPIPE 3 +#define SIGALRM 13 + +/* Some real good hacks! */ +#undef errno +#define errno WSAGetLastError + +#define EINPROGRESS WSAEINPROGRESS -- cgit v1.2.3