summaryrefslogtreecommitdiff
path: root/math/ordCalc/patches/patch-src_parse.y
blob: f1c27ee648413dd413e1d50a83bc235cbcf43815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-src_parse.y,v 1.1 2014/01/16 18:09:46 asau Exp $

malloc.h raises error on FreeBSD intentionally.

--- src/parse.y.orig	2010-01-17 04:47:28.000000000 +0000
+++ src/parse.y
@@ -1,5 +1,5 @@
 %{
-#include <malloc.h>
+#include <stdlib.h>
 #include <iostream>
 #include <stdlib.h>
 #include "ordinal.h"