Commit b0a4ee3c authored by Josh Coalson's avatar Josh Coalson
Browse files

fix "redefinition of socklen_t" problem on freebsd

parent d2918a3c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment