mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Fix build on 4.x.
Reported by: vs
This commit is contained in:
parent
0c011f4410
commit
af5ed86738
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131443
1 changed files with 16 additions and 0 deletions
16
audio/xmms-flac/files/patch-src_plugin__xmms_http.c
Normal file
16
audio/xmms-flac/files/patch-src_plugin__xmms_http.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/plugin_xmms/http.c.orig
|
||||
+++ src/plugin_xmms/http.c
|
||||
@@ -44,10 +44,6 @@
|
||||
#include "FLAC/format.h"
|
||||
#include "plugin.h"
|
||||
|
||||
-#ifndef HAVE_SOCKLEN_T
|
||||
-typedef unsigned int socklen_t;
|
||||
-#endif
|
||||
-
|
||||
#define min(x,y) ((x)<(y)?(x):(y))
|
||||
#define min3(x,y,z) (min(x,y)<(z)?min(x,y):(z))
|
||||
#define min4(x,y,z,w) (min3(x,y,z)<(w)?min3(x,y,z):(w))
|
Loading…
Add table
Reference in a new issue