pkgsrc/mbone/rat/patches/patch-af
joerg 0a498280f1 Add DragonFly support. Allow build on newer NetBSD versions.
Don't require MTREE. Simplify Makefiles by building directly
as bin/rat -- pkgsrc doesn't support multiple builds in one
WRKSRC anyway.
2006-02-24 00:35:59 +00:00

23 lines
639 B
Text

$NetBSD: patch-af,v 1.3 2006/02/24 00:35:59 joerg Exp $
--- src/bat_include.h.orig Sat Aug 15 15:16:47 1998
+++ src/bat_include.h Wed Nov 4 21:27:03 1998
@@ -44,9 +44,6 @@
#include "config.h"
-#ifndef __FreeBSD__
-#include <malloc.h>
-#endif
#include <stdio.h>
#include <memory.h>
#include <errno.h>
@@ -70,7 +67,7 @@
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
-#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
+#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */