[OpenWrt-Devel] [PATCH] system-linux: fix PATH_MAX undeclared compilation error

Alin Nastac alin.nastac at gmail.com
Fri Mar 27 06:56:09 EDT 2020


From: Alin Nastac <alin.nastac at gmail.com>

Issue was introduced in commit 1321c1bd8fe921986c4eb39c3783ddd827b79543.

Signed-off-by: Alin Nastac <alin.nastac at gmail.com>
---
 system-linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/system-linux.c b/system-linux.c
index d36d287..775b448 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -26,6 +26,7 @@
 #include <net/if.h>
 #include <net/if_arp.h>
 
+#include <limits.h>
 #include <arpa/inet.h>
 #include <netinet/ether.h>
 #include <netinet/in.h>
-- 
2.7.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list