]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn-register: add missing header for glibc < 2.34
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 26 Dec 2024 10:02:34 +0000 (11:02 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 26 Dec 2024 10:02:34 +0000 (11:02 +0100)
Fixes #35755

src/vmspawn/vmspawn-register.c

index 20e6def360fb0f9b5043ab94a0e8468f5e630999..e60467496adb8c814e9668dd5c87f6fc2ddd53da 100644 (file)
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include <unistd.h>
+
 #include "sd-bus.h"
 #include "sd-id128.h"
 #include "sd-json.h"