summaryrefslogtreecommitdiffstats
path: root/src/test/test-fs-util.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-08-02 21:18:24 +0200
committerKhem Raj <raj.khem@gmail.com>2023-08-02 23:45:27 +0200
commitac8db36cbc26694ee94beecc8dca208ec4b5fd45 (patch)
tree155a09c32043df06e4a0817b5815025a8bc04bf0 /src/test/test-fs-util.c
parenttest/test-sizeof: Include sys/timex.h for struct timex (diff)
downloadsystemd-ac8db36cbc26694ee94beecc8dca208ec4b5fd45.tar.xz
systemd-ac8db36cbc26694ee94beecc8dca208ec4b5fd45.zip
include missing sys/file.h for LOCK_EX
Diffstat (limited to 'src/test/test-fs-util.c')
-rw-r--r--src/test/test-fs-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c
index 1beba916a4..5de1eea0d4 100644
--- a/src/test/test-fs-util.c
+++ b/src/test/test-fs-util.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#include <sys/file.h>
#include <unistd.h>
#include "alloc-util.h"