commit | b0a4ee3cfa4df7a3943bba1f39792bc9c0d02298 | [log] [tgz] |
---|---|---|
author | Josh Coalson <jcoalson@users.sourceforce.net> | Fri Sep 02 05:03:53 2005 +0000 |
committer | Josh Coalson <jcoalson@users.sourceforce.net> | Fri Sep 02 05:03:53 2005 +0000 |
tree | e4db469b7294a2f301cf97cbf38cd27f6fcd8ef8 | |
parent | d2918a3c5e14828443a51939daec193cbed6a23b [diff] |
fix "redefinition of socklen_t" problem on freebsd
diff --git a/src/plugin_xmms/http.c b/src/plugin_xmms/http.c index ad6475a..0876bb4 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 <sys/socket.h> */ +#if (!defined HAVE_SOCKLEN_T) && !defined(__FreeBSD__) typedef unsigned int socklen_t; #endif