From 2052514dc99575140af40b25e41c438c98eb9b48 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 13 Jun 2017 12:52:35 +0800 Subject: [PATCH] Speculative fix for PATH_MAX not known The latest poky master build is failing with the error below. Let's include limits.h and see if this is already fixing it. | rtl8168-eeprom.c: In function 'eeprom_backup': | rtl8168-eeprom.c:406:13: error: 'PATH_MAX' undeclared (first use in this function) | char fname[PATH_MAX]; | ^~~~~~~~ --- rtl8168-eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtl8168-eeprom.c b/rtl8168-eeprom.c index e281f3d..19cae0d 100644 --- a/rtl8168-eeprom.c +++ b/rtl8168-eeprom.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include