summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/olsrd-luci/patches/170-fcntl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/olsrd-luci/patches/170-fcntl-fix.patch')
-rw-r--r--contrib/package/olsrd-luci/patches/170-fcntl-fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/package/olsrd-luci/patches/170-fcntl-fix.patch b/contrib/package/olsrd-luci/patches/170-fcntl-fix.patch
new file mode 100644
index 0000000000..ca56767272
--- /dev/null
+++ b/contrib/package/olsrd-luci/patches/170-fcntl-fix.patch
@@ -0,0 +1,10 @@
+--- a/src/linux/kernel_routes.c
++++ b/src/linux/kernel_routes.c
+@@ -42,6 +42,7 @@
+ #include "kernel_routes.h"
+ #include "ipc_frontend.h"
+ #include "log.h"
++#include <fcntl.h>
+
+ /* values for control flag to handle recursive route corrections
+ * currently only requires in linux specific kernel_routes.c */