]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4107] Add missing fcntl.h include for open()
authorAndrei Pavel <andrei@isc.org>
Wed, 17 Sep 2025 06:37:40 +0000 (09:37 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 17 Sep 2025 06:37:40 +0000 (09:37 +0300)
src/lib/util/pid_file.cc

index 02d97b7342b906a182d5af0334a5ad4025d5a07e..7483b35359e98b63748da4673f102cdbf94a8126 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -7,11 +7,13 @@
 #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 {