Package: qutemol / 0.4.1~cvs20081111-15

32_stdio_includes.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Michael Banck <mbanck@debian.org>
Subject: Add missing includes for <stdio.h>



--- a/src/AO.cpp
+++ b/src/AO.cpp
@@ -2,6 +2,7 @@
 typedef unsigned char Byte;
 
 #include <math.h>
+#include <stdio.h>
 
 #include <vector>
 #include <vcg/space/point3.h>
--- a/src/AtomColor.cpp
+++ b/src/AtomColor.cpp
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
 #include <map>
 #include <string>
 using namespace std;
--- a/src/Mol.cpp
+++ b/src/Mol.cpp
@@ -3,6 +3,7 @@
 typedef unsigned char Byte;
 
 #include <string.h>
+#include <stdio.h>
 #include <vector>
 #include <string>
 #include <algorithm>
--- a/src/ShadowMap.cpp
+++ b/src/ShadowMap.cpp
@@ -3,6 +3,8 @@
 typedef unsigned char Byte;
 typedef unsigned int uint;
 
+#include <stdio.h>
+
 #include <GL/glew.h>
 #include "CgUtil.h"