X Tutup
Skip to content

Commit 3c9fbb9

Browse files
committed
variuos: add missing includes
1 parent 465a6f1 commit 3c9fbb9

File tree

10 files changed

+14
-0
lines changed

10 files changed

+14
-0
lines changed

src/basic/limits-util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3+
#include <unistd.h>
4+
35
#include "alloc-util.h"
46
#include "cgroup-util.h"
57
#include "limits-util.h"

src/basic/procfs-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

33
#include <errno.h>
4+
#include <unistd.h>
45

56
#include "alloc-util.h"
67
#include "def.h"

src/creds/creds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

33
#include <getopt.h>
4+
#include <unistd.h>
45

56
#include "creds-util.h"
67
#include "dirent-util.h"

src/journal-remote/journal-upload.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <getopt.h>
66
#include <stdio.h>
77
#include <sys/stat.h>
8+
#include <unistd.h>
89

910
#include "sd-daemon.h"
1011

src/machine/operation.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

33
#include <sys/wait.h>
4+
#include <unistd.h>
45

56
#include "alloc-util.h"
67
#include "fd-util.h"

src/portable/portabled-operation.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3+
#include <unistd.h>
4+
35
#include "alloc-util.h"
46
#include "fd-util.h"
57
#include "portabled-operation.h"

src/shared/calendarspec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <stdio.h>
88
#include <stdlib.h>
99
#include <sys/mman.h>
10+
#include <unistd.h>
1011

1112
#include "alloc-util.h"
1213
#include "calendarspec.h"

src/shared/mkfs-util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3+
#include <unistd.h>
4+
35
#include "id128-util.h"
46
#include "mkfs-util.h"
57
#include "path-util.h"

src/systemctl/systemctl-start-special.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3+
#include <unistd.h>
4+
35
#include "bootspec.h"
46
#include "bus-error.h"
57
#include "bus-locator.h"

src/test/test-data-fd-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <sys/types.h>
44
#include <sys/stat.h>
55
#include <fcntl.h>
6+
#include <unistd.h>
67

78
#include "data-fd-util.h"
89
#include "fd-util.h"

0 commit comments

Comments
 (0)
X Tutup