Browse Source

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>
Hauke Mehrtens 2 years ago
parent
commit
1c36d3d0a8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      jail/netifd.c

+ 1 - 0
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>