summaryrefslogtreecommitdiff
path: root/community/libghemical/sasaeval.diff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libghemical/sasaeval.diff
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libghemical/sasaeval.diff')
-rw-r--r--community/libghemical/sasaeval.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/libghemical/sasaeval.diff b/community/libghemical/sasaeval.diff
new file mode 100644
index 000000000..fe719f8d9
--- /dev/null
+++ b/community/libghemical/sasaeval.diff
@@ -0,0 +1,21 @@
+--- a/src/sasaeval.cpp 2008-08-01 09:39:01.000000000 +0530
++++ b/src/sasaeval.cpp 2008-08-01 09:40:33.000000000 +0530
+@@ -21,6 +21,8 @@
+ #include "sasaeval.h"
+
+ #include "engine.h"
++#include <algorithm>
++using namespace std;
+
+ // the surface area code apparently contains some bugs, since it sometimes
+ // crashes. another possibility is that the surface area math contains some
+--- a/src/sasaeval.h 2008-07-31 00:40:08.000000000 +0530
++++ b/src/sasaeval.h 2008-08-01 09:40:04.000000000 +0530
+@@ -24,6 +24,7 @@
+ #define SASAEVAL_H
+
+ #include "typedef.h"
++#include <stdlib.h>
+
+ struct cg_nbt3_nl; // SASA neighbor list.
+