]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: include unistd.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 6 Jul 2025 06:22:43 +0000 (15:22 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 6 Jul 2025 11:31:17 +0000 (13:31 +0200)
The source file uses symbols e.g. execl(), execvp(), _exit(), and so on,
without including unistd.h.

Continuation of 4f18ff2e29b8054f30b084abcabf5f689f4b340b.

Follow-up for 9a08000d186396bc8bcb8fe057720417543c3bf0.

src/analyze/analyze-unit-shell.c

index 576a420034386a36fb8236f1ad8fc3b12187444f..6d241eb6e10c7ed2657567ee8aa56f98df86bf38 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "sd-bus.h"