Merge pull request #10656 from neheb/lcd

lcd4linux: Add limits header for PATH_MAX
This commit is contained in:
Rosen Penev 2019-12-01 16:51:06 -08:00 committed by GitHub
commit 70e4d5e627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lcd4linux
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/feckert/lcd4linux

View 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"