aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/forte/forte-0.3.5/forte-0.3.5_stdlib_inc_fix.patch
blob: 3ebd47325ae8d5519b766a2e8c433d0089f2fae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur FORTE-0.3.5.orig/src/core/datatypes/forte_lreal.cpp FORTE-0.3.5/src/core/datatypes/forte_lreal.cpp
--- FORTE-0.3.5.orig/src/core/datatypes/forte_lreal.cpp	2008-12-11 16:05:26.000000000 +0000
+++ FORTE-0.3.5/src/core/datatypes/forte_lreal.cpp	2009-02-16 11:01:44.000000000 +0000
@@ -8,6 +8,7 @@
  * Contributors:
  *     <date>: <author>, <author email> - changes
  *******************************************************************************/
+#include <stdlib.h>
 #include <math.h>
 #include "forte_lreal.h"
 
diff -Naur FORTE-0.3.5.orig/src/core/datatypes/forte_real.cpp FORTE-0.3.5/src/core/datatypes/forte_real.cpp
--- FORTE-0.3.5.orig/src/core/datatypes/forte_real.cpp	2008-12-11 16:05:40.000000000 +0000
+++ FORTE-0.3.5/src/core/datatypes/forte_real.cpp	2009-02-16 11:12:16.000000000 +0000
@@ -8,6 +8,7 @@
  * Contributors:
  *     <date>: <author>, <author email> - changes
  *******************************************************************************/
+#include <stdlib.h>
 #include <math.h>
 #include "forte_real.h"