pkgsrc/sysutils/xfm/patches/patch-ab

19 lines
387 B
Text

$NetBSD: patch-ab,v 1.2 2006/03/29 22:39:49 joerg Exp $
--- src/Fm.h.orig Tue Aug 1 09:09:35 2000
+++ src/Fm.h Tue Aug 1 09:16:04 2000
@@ -19,10 +19,14 @@
#include <malloc.h>
#endif
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+#include <stdlib.h>
+#else
#ifdef _AIX
#pragma alloca
#else
#include <alloca.h>
+#endif
#endif
#include <stdio.h>