$NetBSD: patch-ad,v 1.1.1.1 2006/12/15 09:03:47 adam Exp $
--- PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp.orig	2005-03-12 00:24:54.000000000 +0100
+++ PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp	2005-12-17 22:20:45.000000000 +0100
@@ -43,7 +43,9 @@
                 
 */
 
-
+#if __NetBSD__
+#include <sys/param.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -57,7 +59,7 @@
     #if defined (__solaris__) || defined (__osf__) || defined (__sgi__) || defined (__hpux__)
         #include "daemon.h"
     #else
-        #ifndef __FreeBSD__
+        #ifndef __FreeBSD__ || __NetBSD__ || defined(__DragonFly__)
             #include <sys/sysctl.h>
         #endif
     #endif
