projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f7699
)
jail: Fix build with glibc
author
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 22 Oct 2021 20:53:32 +0000
(22:53 +0200)
committer
Hauke 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
patch
|
blob
|
history
diff --git
a/jail/netifd.c
b/jail/netifd.c
index 0f05ccc2bae0d309b5fb9e2ec1848aca627c0d16..bb205d0b241f450142304ed9fd73fbad66791f55 100644
(file)
--- 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>