diff options
Diffstat (limited to 'libvo/vo_bl.c')
-rw-r--r-- | libvo/vo_bl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/vo_bl.c b/libvo/vo_bl.c index a0c141d1e7..aa1bea1128 100644 --- a/libvo/vo_bl.c +++ b/libvo/vo_bl.c @@ -35,7 +35,6 @@ #include "config.h" #ifndef HAVE_WINSOCK2_H -#define closesocket close #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> @@ -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", |