]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
variuos: add missing includes
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Sep 2021 18:17:52 +0000 (20:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 Sep 2021 10:58:46 +0000 (12:58 +0200)
src/basic/limits-util.c
src/basic/procfs-util.c
src/creds/creds.c
src/journal-remote/journal-upload.c
src/machine/operation.c
src/portable/portabled-operation.c
src/shared/calendarspec.c
src/shared/mkfs-util.c
src/systemctl/systemctl-start-special.c
src/test/test-data-fd-util.c

index 9f8e26d46a829410759cd998398d5c2131b9553f..78e7cb39ee992281c58aa5e4080eab0966fd8e2f 100644 (file)
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include <unistd.h>
+
 #include "alloc-util.h"
 #include "cgroup-util.h"
 #include "limits-util.h"
index 9234ccaf859c9aab7a0a09cdc16c7f5634c98da6..f076ad097ea4d0f6d9e9c7727f8d922a91d71dec 100644 (file)
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "alloc-util.h"
 #include "def.h"
index f880a79a822fe73577dfc7d008c644a4549c2d15..3d2841c07db170450001bebbe5707bbe0fd8cca8 100644 (file)
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #include <getopt.h>
+#include <unistd.h>
 
 #include "creds-util.h"
 #include "dirent-util.h"
index 1456c9115f7443b547d5c4fe4a1ce72090b553b3..1f756b4368cc5f125d906f93ee4c665e7679d9a6 100644 (file)
@@ -5,6 +5,7 @@
 #include <getopt.h>
 #include <stdio.h>
 #include <sys/stat.h>
+#include <unistd.h>
 
 #include "sd-daemon.h"
 
index 42432f1f7fdd89ee69a03b208689827084df6655..4110fcf21e6dbf6d4fbf7fb885265697140a122e 100644 (file)
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #include <sys/wait.h>
+#include <unistd.h>
 
 #include "alloc-util.h"
 #include "fd-util.h"
index 6f06367d2067199ffd53697f0a096e82c87d7a80..e4b737ae8c64eeea97e44bd5b89134f546fad5e3 100644 (file)
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include <unistd.h>
+
 #include "alloc-util.h"
 #include "fd-util.h"
 #include "portabled-operation.h"
index bf24d8d5bbb85d04ae087bf7f0e1d29542f4e01b..71256de8e1439f4f2bd336ed6b868231f4e7900a 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/mman.h>
+#include <unistd.h>
 
 #include "alloc-util.h"
 #include "calendarspec.h"
index 88a3edec558ca0f02244dec4657c9f58919697c0..924afdfd9309d2b281b38404f56d66f66dd5f9e3 100644 (file)
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include <unistd.h>
+
 #include "id128-util.h"
 #include "mkfs-util.h"
 #include "path-util.h"
index 56068d25f58c80c8170aaffc9226b5eafdb23bd7..6ece700a9bf717bd36ea75c6b0c8c750f5726f3a 100644 (file)
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include <unistd.h>
+
 #include "bootspec.h"
 #include "bus-error.h"
 #include "bus-locator.h"
index 22a57b51559bd3231320ac2cb766864c2e723ace..8a506ae75e7d801b63318bf0ad18158f098feba8 100644 (file)
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 #include "data-fd-util.h"
 #include "fd-util.h"