summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
Diffstat (limited to 'src/import')
-rw-r--r--src/import/curl-util.c2
-rw-r--r--src/import/curl-util.h1
-rw-r--r--src/import/export.c1
-rw-r--r--src/import/import-fs.c1
-rw-r--r--src/import/import.c1
-rw-r--r--src/import/pull-job.c2
-rw-r--r--src/import/pull.c1
-rw-r--r--src/import/test-qcow2.c5
8 files changed, 13 insertions, 1 deletions
diff --git a/src/import/curl-util.c b/src/import/curl-util.c
index 7db03b2919..cd6822f8db 100644
--- a/src/import/curl-util.c
+++ b/src/import/curl-util.c
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <fcntl.h>
+
#include "alloc-util.h"
#include "build.h"
#include "curl-util.h"
diff --git a/src/import/curl-util.h b/src/import/curl-util.h
index a03e844030..6a7be6421c 100644
--- a/src/import/curl-util.h
+++ b/src/import/curl-util.h
@@ -7,6 +7,7 @@
#include "sd-event.h"
#include "hashmap.h"
+#include "time-util.h"
typedef struct CurlGlue CurlGlue;
diff --git a/src/import/export.c b/src/import/export.c
index 490710678f..4566a66a15 100644
--- a/src/import/export.c
+++ b/src/import/export.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <getopt.h>
+#include <locale.h>
#include "sd-event.h"
#include "sd-id128.h"
diff --git a/src/import/import-fs.c b/src/import/import-fs.c
index 35ba6ba382..974c0f5536 100644
--- a/src/import/import-fs.c
+++ b/src/import/import-fs.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <getopt.h>
+#include <locale.h>
#include "alloc-util.h"
#include "btrfs-util.h"
diff --git a/src/import/import.c b/src/import/import.c
index f34244acff..e3a1ae8a8b 100644
--- a/src/import/import.c
+++ b/src/import/import.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <getopt.h>
+#include <locale.h>
#include "sd-event.h"
#include "sd-id128.h"
diff --git a/src/import/pull-job.c b/src/import/pull-job.c
index 6881bd627f..9f759a77e0 100644
--- a/src/import/pull-job.c
+++ b/src/import/pull-job.c
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <fcntl.h>
+#include <sys/stat.h>
#include <sys/xattr.h>
#include "alloc-util.h"
diff --git a/src/import/pull.c b/src/import/pull.c
index 3376992588..68b1221b72 100644
--- a/src/import/pull.c
+++ b/src/import/pull.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <getopt.h>
+#include <locale.h>
#include "sd-event.h"
#include "sd-id128.h"
diff --git a/src/import/test-qcow2.c b/src/import/test-qcow2.c
index bd2b458219..1703cfd167 100644
--- a/src/import/test-qcow2.c
+++ b/src/import/test-qcow2.c
@@ -1,9 +1,12 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+
#include "fd-util.h"
#include "log.h"
#include "qcow2-util.h"
-#include "util.h"
int main(int argc, char *argv[]) {
_cleanup_close_ int sfd = -1, dfd = -1;