$NetBSD: patch-af,v 1.1 2006/01/25 16:11:49 joerg Exp $ --- platform.h.orig 2006-01-08 21:31:20.000000000 +0000 +++ platform.h @@ -83,7 +83,7 @@ static inline unsigned int GetTickCount( #define MAX_PATH 1024 //macfag -#ifndef socklen_t +#if !defined(socklen_t) && !defined(__DragonFly__) #define socklen_t int #endif