]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: include unistd.h for _exit() used in ASSERT_SIGNAL()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 4 Aug 2025 04:29:19 +0000 (13:29 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Aug 2025 09:38:54 +0000 (10:38 +0100)
Similar to c56e251d3f444b78e877eae27a0f82dcde5e9fe5.

src/shared/tests.h

index 33304903ba14a7de19abbba26750f64d8473461b..5c933c48010ce4cac1776491bbd4275ff194b6b8 100644 (file)
@@ -1,6 +1,8 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <unistd.h>
+
 #include "errno-list.h"
 #include "errno-util.h"
 #include "forward.h"