diff options
author | ormorph <roma251078@mail.ru> | 2024-03-20 17:51:19 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-25 22:43:41 +0900 |
commit | 5344e9d75cfecf93976cd24ea909d6e8627ac2b3 (patch) | |
tree | 1f942d204c51b24f20ff4fa07782ae4de1ef6447 | |
parent | 49db40e4a2afa9e0ac9ac1b1643c41ed6fa692cb (diff) | |
download | tdewebdev-5344e9d75cfecf93976cd24ea909d6e8627ac2b3.tar.gz tdewebdev-5344e9d75cfecf93976cd24ea909d6e8627ac2b3.zip |
Adding cstdlib header file inclusion
Solution to issue #42
Necessary to enable some C functions
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit c001576c1883d16ae3bcab997e3c0019c8a62f5f)
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/files.cpp | 1 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp | 1 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/options.cpp | 1 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp | 1 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp | 1 | ||||
-rw-r--r-- | kxsldbg/xsldbgmain.cpp | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp index 3a7c6add..77e6c1bb 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp @@ -37,6 +37,7 @@ #endif #endif /* BUILD_DOCS */ +#include <cstdlib> /* top xml document */ diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp index 5c1bcbff..992b0149 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp @@ -21,6 +21,7 @@ #include "files.h" #include "utils.h" #include "options.h" +#include <cstdlib> static char *tempNames[2] = { NULL, NULL }; diff --git a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp index 196f2ba9..cb916f51 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp @@ -27,6 +27,7 @@ #include <kstandarddirs.h> #include <tqfileinfo.h> #include <tqstringlist.h> +#include <cstdlib> /* keep track of our integer/boolean options */ diff --git a/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp b/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp index dac5bb0f..8c5e26e8 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp @@ -19,6 +19,7 @@ #include "xsldbg.h" #include "debugXSL.h" #include "files.h" +#include <cstdlib> /* ----------------------------------------- diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp index a3d01cab..d05281f5 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp @@ -39,6 +39,7 @@ #include "files.h" #include "breakpoint.h" #include "debugXSL.h" +#include <cstdlib> #include <libxml/xmlerror.h> #include "xsldbgmsg.h" diff --git a/kxsldbg/xsldbgmain.cpp b/kxsldbg/xsldbgmain.cpp index 9d782dc2..ceb275df 100644 --- a/kxsldbg/xsldbgmain.cpp +++ b/kxsldbg/xsldbgmain.cpp @@ -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, |