summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-10-22 22:53:32 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-22 22:54:18 +0200
commit1c36d3d0a8fc87b97e236269f5104e139f1d641d (patch)
tree9a830c9f46aa99d7fd95378fdd8c5f8035689537
parent59f769920276229a3ee2dcbe75ea54095cf14ffe (diff)
downloadprocd-1c36d3d0a8fc87b97e236269f5104e139f1d641d.tar.gz
jail: Fix build with glibc
Add missing include for open(). This fixes the build with glibc. Fixes: 82dd39024f63 ("jail: make use of per-container netifd via ubus") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--jail/netifd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jail/netifd.c b/jail/netifd.c
index 0f05ccc..bb205d0 100644
--- a/jail/netifd.c
+++ b/jail/netifd.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <errno.h>
#include <libgen.h>
+#include <fcntl.h>
#include <sys/inotify.h>
#include <sys/stat.h>