]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4090] Add missing sys/wait.h include for waitpid()
authorAndrei Pavel <andrei@isc.org>
Mon, 29 Sep 2025 08:49:49 +0000 (11:49 +0300)
committerAndrei Pavel <andrei@isc.org>
Mon, 29 Sep 2025 08:49:49 +0000 (11:49 +0300)
src/bin/lfc/tests/lfc_controller_unittests.cc
src/lib/process/tests/daemon_unittest.cc

index 7520da2e21958fed97f4bb24c9a6ad8b889024d5..b09e47e5ab5c928ce99903459fb0cab4aeeae362 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2025 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -9,9 +9,12 @@
 #include <lfc/lfc_controller.h>
 #include <util/csv_file.h>
 #include <util/pid_file.h>
-#include <gtest/gtest.h>
-#include <fstream>
+
 #include <cerrno>
+#include <fstream>
+
+#include <gtest/gtest.h>
+#include <sys/wait.h>
 
 using namespace isc::lfc;
 using namespace isc::util;
index c899f79d4069b21e88648881a687185c20bf7e15..c8e24419acec5fe3cb20705b022fb0aed25daf0f 100644 (file)
@@ -7,17 +7,15 @@
 #include <config.h>
 
 #include <asiolink/process_spawn.h>
-#include <exceptions/exceptions.h>
 #include <cc/data.h>
-#include <process/daemon.h>
+#include <exceptions/exceptions.h>
+#include <log/logger_support.h>
 #include <process/config_base.h>
+#include <process/daemon.h>
 #include <process/log_parser.h>
-#include <log/logger_support.h>
 
 #include <gtest/gtest.h>
 
-#include <sys/wait.h>
-
 using namespace isc;
 using namespace isc::asiolink;
 using namespace isc::process;