From c001576c1883d16ae3bcab997e3c0019c8a62f5f Mon Sep 17 00:00:00 2001 From: ormorph Date: Wed, 20 Mar 2024 17:51:19 +0300 Subject: Adding cstdlib header file inclusion Solution to issue #42 Necessary to enable some C functions Signed-off-by: ormorph --- kxsldbg/kxsldbgpart/libxsldbg/files.cpp | 1 + kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp | 1 + kxsldbg/kxsldbgpart/libxsldbg/options.cpp | 1 + kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp | 1 + kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp | 1 + kxsldbg/xsldbgmain.cpp | 1 + 6 files changed, 6 insertions(+) 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 /* 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 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 #include #include +#include /* 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 /* ----------------------------------------- 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 #include #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 #include #include +#include /* Forward delare private functions */ static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data); static int notifyStateXsldbgAppSimple(XsldbgMessageEnum type, int commandId, -- cgit v1.2.1