pkgsrc/net/mrtg/patches/patch-aa
2007-08-08 20:22:10 +00:00

16 lines
448 B
Text

$NetBSD: patch-aa,v 1.18 2007/08/08 20:22:16 joerg Exp $
--- src/rateup.c.orig 2007-08-08 20:01:48.000000000 +0000
+++ src/rateup.c
@@ -48,11 +48,6 @@
#define GFORM_GD gdImagePng
#endif
-/* BSD* does not have/need malloc.h */
-#if !defined(bsdi) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
-#include <malloc.h>
-#endif
-
/* MSVCRT.DLL does not know %ll in printf */
#ifdef __MINGW32_VERSION
#define LLD "%I64d"