summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/netperf/patches/patch-af')
-rw-r--r--benchmarks/netperf/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/benchmarks/netperf/patches/patch-af b/benchmarks/netperf/patches/patch-af
new file mode 100644
index 00000000000..64a74b49734
--- /dev/null
+++ b/benchmarks/netperf/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1 2007/08/08 20:30:14 joerg Exp $
+
+--- nettest_unix.c.orig 2007-08-08 20:05:27.000000000 +0000
++++ nettest_unix.c
+@@ -52,11 +52,6 @@ char nettest_unix_id[]="\
+ #include <string.h>
+ #include <time.h>
+ #include <sys/time.h>
+-#if ! defined(__bsdi__) && ! defined(_APPLE_)
+-#include <malloc.h>
+-#else
+-#include <sys/malloc.h>
+-#endif
+
+ #include "netlib.h"
+ #include "netsh.h"