summaryrefslogtreecommitdiff
path: root/lang/g95/patches/patch-libf95.a-0.92_io_atof.c
blob: 6b9534560cde472a037fabbd2f11bec6d0524b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-libf95.a-0.92_io_atof.c,v 1.1 2012/07/21 22:01:18 dholland Exp $

Needs stdlib.h on netbsd to get alloca() declaration.

--- libf95.a-0.92/io/atof.c~	2009-04-22 17:44:56.000000000 +0000
+++ libf95.a-0.92/io/atof.c
@@ -2,6 +2,7 @@
 
 
 
+#include <stdlib.h>
 #include <string.h>
 #include "runtime.h"