diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2021-10-22 22:53:32 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-10-22 22:54:18 +0200 |
commit | 1c36d3d0a8fc87b97e236269f5104e139f1d641d (patch) | |
tree | 9a830c9f46aa99d7fd95378fdd8c5f8035689537 | |
parent | 59f769920276229a3ee2dcbe75ea54095cf14ffe (diff) | |
download | procd-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.c | 1 |
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> |