20 lines
414 B
Text
20 lines
414 B
Text
$NetBSD: patch-ab,v 1.3 2015/10/14 20:17:28 wiz Exp $
|
|
|
|
--- src/Fm.h.orig 2001-09-03 03:15:28.000000000 +0000
|
|
+++ src/Fm.h
|
|
@@ -19,11 +19,15 @@
|
|
#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>
|
|
#include <sys/types.h> /* just in case */
|