pkgsrc/net/DarwinStreamingServer/patches/patch-ad
2007-03-07 18:22:43 +00:00

23 lines
692 B
Text

$NetBSD: patch-ad,v 1.2 2007/03/07 18:22:43 joerg 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