mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
lcd4linux: Add limits header for PATH_MAX
Fixes compilation on musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
10
utils/lcd4linux/patches/200-musl.patch
Normal file
10
utils/lcd4linux/patches/200-musl.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/plugin_i2c_sensors.c
|
||||
+++ b/plugin_i2c_sensors.c
|
||||
@@ -68,6 +68,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "plugin.h"
|
||||
Reference in New Issue
Block a user