projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2918a3
)
fix "redefinition of socklen_t" problem on freebsd
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 2 Sep 2005 05:03:53 +0000
(
05:03
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 2 Sep 2005 05:03:53 +0000
(
05:03
+0000)
src/plugin_xmms/http.c
patch
|
blob
|
history
diff --git
a/src/plugin_xmms/http.c
b/src/plugin_xmms/http.c
index
ad6475a
..
0876bb4
100644
(file)
--- 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