Fix Manjaro/Arch Linux build with Clang 15. accepted/tizen/8.0/unified/20231005.100152 accepted/tizen/unified/20230616.172411 accepted/tizen/unified/dev/20230726.120034
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Wed, 7 Jun 2023 18:32:08 +0000 (21:32 +0300)
committerGleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics <g.balykov@samsung.com>
Fri, 9 Jun 2023 12:32:04 +0000 (15:32 +0300)
Related to https://github.com/Samsung/netcoredbg/issues/122

src/debugger/waitpid.cpp

index e3c99801bfcf0dfbdd27ade8c14cae6c25d58292..bd260eb705d02784653a8571bbd7d8d1ef26e5b1 100644 (file)
@@ -6,6 +6,9 @@
 
 #ifdef FEATURE_PAL
 #include <dlfcn.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/wait.h>
 
 #include "utils/logger.h"