2013-09-26 17:14:40 +02:00

24 lines
639 B
Plaintext

$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 */