fix "redefinition of socklen_t" problem on freebsd
This commit is contained in:
parent
d2918a3c5e
commit
b0a4ee3cfa
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user