Adding cstdlib header file inclusion

Solution to issue #42
Necessary to enable some C functions

Signed-off-by: ormorph <roma251078@mail.ru>
pull/43/head
ormorph 9 months ago
parent 7ab481cf8b
commit c001576c18
No known key found for this signature in database
GPG Key ID: 30407D7656623DFD

@ -37,6 +37,7 @@
#endif #endif
#endif /* BUILD_DOCS */ #endif /* BUILD_DOCS */
#include <cstdlib>
/* top xml document */ /* top xml document */

@ -21,6 +21,7 @@
#include "files.h" #include "files.h"
#include "utils.h" #include "utils.h"
#include "options.h" #include "options.h"
#include <cstdlib>
static char *tempNames[2] = { NULL, NULL }; static char *tempNames[2] = { NULL, NULL };

@ -27,6 +27,7 @@
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <cstdlib>
/* keep track of our integer/boolean options */ /* keep track of our integer/boolean options */

@ -19,6 +19,7 @@
#include "xsldbg.h" #include "xsldbg.h"
#include "debugXSL.h" #include "debugXSL.h"
#include "files.h" #include "files.h"
#include <cstdlib>
/* ----------------------------------------- /* -----------------------------------------

@ -39,6 +39,7 @@
#include "files.h" #include "files.h"
#include "breakpoint.h" #include "breakpoint.h"
#include "debugXSL.h" #include "debugXSL.h"
#include <cstdlib>
#include <libxml/xmlerror.h> #include <libxml/xmlerror.h>
#include "xsldbgmsg.h" #include "xsldbgmsg.h"

@ -39,6 +39,7 @@
#include <tdelocale.h> #include <tdelocale.h>
#include <tdeglobal.h> #include <tdeglobal.h>
#include <kdebug.h> #include <kdebug.h>
#include <cstdlib>
/* Forward delare private functions */ /* Forward delare private functions */
static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data); static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data);
static int notifyStateXsldbgAppSimple(XsldbgMessageEnum type, int commandId, static int notifyStateXsldbgAppSimple(XsldbgMessageEnum type, int commandId,

Loading…
Cancel
Save