summaryrefslogtreecommitdiffstats
path: root/trinity-base/kxsldbg/files/kxsldbg-add-headers.patch
blob: 95a2828e8815bb9f486c915fa729b5c6887818c3 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp	2024-03-24 15:56:49.245591213 +0300
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp	2024-03-24 15:57:57.025588378 +0300
@@ -34,9 +34,12 @@
 #include "xsldbgthread.h"
 #ifdef WIN32
 #include <direct.h>
+#else
+#include <unistd.h>
 #endif
 
 #endif /* BUILD_DOCS */
+#include <cstdlib>
 
 
 /* top xml document */
--- a/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp	2024-03-24 15:56:49.247591213 +0300
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp	2024-03-24 15:57:57.027588378 +0300
@@ -21,6 +21,7 @@
 #include "files.h"
 #include "utils.h"
 #include "options.h"
+#include <cstdlib>
 
 static char *tempNames[2] = { NULL, NULL };
 
--- a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp	2024-03-24 15:56:49.250591212 +0300
+++ b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp	2024-03-24 15:57:57.028588378 +0300
@@ -27,6 +27,7 @@
 #include <kstandarddirs.h> 
 #include <tqfileinfo.h>
 #include <tqstringlist.h>
+#include <cstdlib>
 
 
 /* keep track of our integer/boolean options */
--- a/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp	2024-03-24 15:56:49.252591212 +0300
+++ b/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp	2024-03-24 15:57:57.029588378 +0300
@@ -19,6 +19,7 @@
 #include "xsldbg.h"
 #include "debugXSL.h"
 #include "files.h"
+#include <cstdlib>
 
 /* -----------------------------------------
 
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp	2024-03-24 15:56:49.260591212 +0300
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp	2024-03-24 15:57:57.030588378 +0300
@@ -39,6 +39,7 @@
 #include "files.h"
 #include "breakpoint.h"
 #include "debugXSL.h"
+#include <cstdlib>
 
 #include <libxml/xmlerror.h>
 #include "xsldbgmsg.h"
--- a/kxsldbg/xsldbgmain.cpp	2024-03-24 15:56:49.290591211 +0300
+++ b/kxsldbg/xsldbgmain.cpp	2024-03-24 15:57:57.032588378 +0300
@@ -39,6 +39,7 @@
 #include <tdelocale.h>
 #include <tdeglobal.h>
 #include <kdebug.h>
+#include <cstdlib>
 /* Forward delare private functions */
 static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data);
 static int notifyStateXsldbgAppSimple(XsldbgMessageEnum type, int commandId,