diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2005-09-02 05:03:53 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2005-09-02 05:03:53 +0000 |
commit | b0a4ee3cfa4df7a3943bba1f39792bc9c0d02298 (patch) | |
tree | e4db469b7294a2f301cf97cbf38cd27f6fcd8ef8 /src/plugin_xmms | |
parent | d2918a3c5e14828443a51939daec193cbed6a23b (diff) | |
download | flac-b0a4ee3cfa4df7a3943bba1f39792bc9c0d02298.tar.gz |
fix "redefinition of socklen_t" problem on freebsd
Diffstat (limited to 'src/plugin_xmms')
-rw-r--r-- | src/plugin_xmms/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/socket.h> */ +#if (!defined HAVE_SOCKLEN_T) && !defined(__FreeBSD__) typedef unsigned int socklen_t; #endif |