blob: d0db1dba764226a762b28ace74f525e7aae1a608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$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 */
|