From b0a4ee3cfa4df7a3943bba1f39792bc9c0d02298 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 2 Sep 2005 05:03:53 +0000 Subject: [PATCH] fix "redefinition of socklen_t" problem on freebsd --- src/plugin_xmms/http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin_xmms/http.c b/src/plugin_xmms/http.c index ad6475a5..0876bb46 100644 --- a/src/plugin_xmms/http.c +++ b/src/plugin_xmms/http.c @@ -44,7 +44,8 @@ #include "FLAC/format.h" #include "plugin.h" -#ifndef HAVE_SOCKLEN_T +/* on FreeBSD we get socklen_t from */ +#if (!defined HAVE_SOCKLEN_T) && !defined(__FreeBSD__) typedef unsigned int socklen_t; #endif