-// Copyright (C) 2015 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
#include <config.h>
#include <util/pid_file.h>
-#include <cstdio>
-#include <signal.h>
-#include <unistd.h>
+
#include <cerrno>
+
+#include <fcntl.h>
+#include <signal.h>
#include <sys/file.h>
+#include <unistd.h>
namespace isc {
namespace util {