$FreeBSD: ports/sysutils/gtoaster/files/patch-stdfiletrack.c,v 1.2 2006/01/20 15:20:43 arved Exp $ --- stdfiletrack.c.orig +++ stdfiletrack.c @@ -21,7 +21,12 @@ #include "dependencies.h" #ifndef __svr4__ +#include +#if __FreeBSD_version >= 504102 +void swab(const void *from,void *to,ssize_t n); +#else void swab(const void *from,void *to,size_t n); +#endif #endif #include "tracks.h"