diff options
author | ormorph <roma251078@mail.ru> | 2024-03-20 17:51:19 +0300 |
---|---|---|
committer | ormorph <roma251078@mail.ru> | 2024-03-22 07:47:49 +0300 |
commit | c001576c1883d16ae3bcab997e3c0019c8a62f5f (patch) | |
tree | 452726b0346603ec1750f08bc59878f85a2682da | |
parent | 7ab481cf8bd4ef4045d9fc794ca86d0d6489fd9d (diff) | |
download | tdewebdev-c001576c1883d16ae3bcab997e3c0019c8a62f5f.tar.gz tdewebdev-c001576c1883d16ae3bcab997e3c0019c8a62f5f.zip |
Adding cstdlib header file inclusion
Solution to issue #42
Necessary to enable some C functions
Signed-off-by: ormorph <roma251078@mail.ru>
-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, |