# HG changeset patch # User diego # Date 1220254505 0 # Node ID fbef1306dab4b8bc7bb548a507273b4205084f94 # Parent ae5da477539e9b1d9c72cea03b106bea43ac3476 Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET' preprocessor condition. diff -r ae5da477539e -r fbef1306dab4 libvo/vo_bl.c --- a/libvo/vo_bl.c Mon Sep 01 07:31:57 2008 +0000 +++ b/libvo/vo_bl.c Mon Sep 01 07:35:05 2008 +0000 @@ -35,7 +35,6 @@ #include "config.h" #ifndef HAVE_WINSOCK2_H -#define closesocket close #include #include #include @@ -49,6 +48,10 @@ #include "m_option.h" #include "fastmemcpy.h" +#ifndef HAVE_CLOSESOCKET +#define closesocket close +#endif + static const vo_info_t info = { "Blinkenlights driver: http://www.blinkenlights.de",