jail: Fix build with glibc
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Oct 2021 20:53:32 +0000 (22:53 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Oct 2021 20:54:18 +0000 (22:54 +0200)
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>
jail/netifd.c

index 0f05ccc2bae0d309b5fb9e2ec1848aca627c0d16..bb205d0b241f450142304ed9fd73fbad66791f55 100644 (file)
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <errno.h>
 #include <libgen.h>
+#include <fcntl.h>
 
 #include <sys/inotify.h>
 #include <sys/stat.h>