fix "redefinition of socklen_t" problem on freebsd

This commit is contained in:
Josh Coalson 2005-09-02 05:03:53 +00:00
parent d2918a3c5e
commit b0a4ee3cfa

View File

@ -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