$NetBSD: patch-af,v 1.2 1998/11/05 02:46:09 mycroft 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 */
