openbsd-ports/mbone/rat/patches/patch-src_bat_include_h
wilfried 106f413f49 * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:21:41 +00:00

22 lines
642 B
Plaintext

$OpenBSD: patch-src_bat_include_h,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/bat_include.h.orig Mon Mar 1 18:23:49 1999
+++ src/bat_include.h Fri Mar 16 20:49:24 2001
@@ -44,7 +44,7 @@
#include "config.h"
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
@@ -71,7 +71,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(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */