projects/guix·blob java-team · refs

55 lines · 1.7 KiB

1Downloaded from https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kiki-the-nano-bot/debian/patches/missing-includes.patch?revision=7984&view=co
2
3Status: in upstream CVS
4
5--- a/kodilib/src/handler/KPickable.h
6+++ b/kodilib/src/handler/KPickable.h
7@@ -8,6 +8,7 @@
8
9 #include "KIntrospection.h"
10 #include <vector>
11+#include <limits.h>
12
13 #define DEBUG_PICKING false
14
15--- a/kodilib/src/tools/KIntrospection.h
16+++ b/kodilib/src/tools/KIntrospection.h
17@@ -11,6 +11,7 @@
18 #endif
19
20 #include <string>
21+#include <string.h>
22
23 // --------------------------------------------------------------------------------------------------------
24 class KClassInfo
25--- a/kodilib/src/tools/KStringTools.cpp
26+++ b/kodilib/src/tools/KStringTools.cpp
27@@ -6,7 +6,7 @@
28 #include "KStringTools.h"
29 #include "KVector.h"
30
31-#include <sys/types.h> // INT_MAX
32+#include <limits.h> // INT_MAX
33 #include <stdio.h>
34
35 // --------------------------------------------------------------------------------------------------------
36--- a/kodilib/src/tools/KStringTools.h
37+++ b/kodilib/src/tools/KStringTools.h
38@@ -9,6 +9,7 @@
39 #include <string>
40 #include <vector>
41 #include <stdarg.h>
42+#include <string.h>
43
44 // --------------------------------------------------------------------------------------------------------
45
46--- a/kodilib/src/tools/KXMLTools.cpp
47+++ b/kodilib/src/tools/KXMLTools.cpp
48@@ -7,6 +7,7 @@
49 #include "KConsole.h"
50 #include "KSeparatedMatrix.h"
51 #include <stdio.h>
52+#include <stdlib.h>
53
54 // --------------------------------------------------------------------------------------------------------
55 std::string kXMLTag ( const std::string & name, const std::string & attributes, int depth )