openbsd-ports/x11/xfm/patches/patch-src_Fm_h
2002-12-30 09:11:47 +00:00

19 lines
341 B
Plaintext

$OpenBSD: patch-src_Fm_h,v 1.1 2002/12/30 09:11:47 pvalchev Exp $
--- src/Fm.h.orig Sun Sep 2 21:15:28 2001
+++ src/Fm.h Mon Dec 30 00:57:29 2002
@@ -19,10 +19,14 @@
#include <malloc.h>
#endif
+#ifdef __OpenBSD__
+#include <stdlib.h>
+#else
#ifdef _AIX
#pragma alloca
#else
#include <alloca.h>
+#endif
#endif
#include <stdio.h>