summaryrefslogtreecommitdiffstats
path: root/src/vconsole/vconsole-setup.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/vconsole/vconsole-setup.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 '')
-rw-r--r--src/vconsole/vconsole-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
index d54764207e..dd6e884335 100644
--- a/src/vconsole/vconsole-setup.c
+++ b/src/vconsole/vconsole-setup.c
@@ -11,6 +11,7 @@
#include <linux/vt.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <sys/file.h>
#include <sys/ioctl.h>
#include <sysexits.h>
#include <termios.h>