dev: include limits.h for PATH_MAX 43/41943/2
authorRenato Botelho do Couto <[email protected]>
Fri, 29 Nov 2024 12:55:05 +0000 (12:55 +0000)
committerDave Wallace <[email protected]>
Wed, 4 Dec 2024 17:25:30 +0000 (17:25 +0000)
Type: fix
Change-Id: I66607164b1552011b39808bafc8e02b5a24f883c
Signed-off-by: Renato Botelho do Couto <[email protected]>
src/vnet/dev/bus/platform.c

index 56a1f9c..55e2e04 100644 (file)
@@ -10,6 +10,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <dirent.h>
+#include <limits.h>
 
 VLIB_REGISTER_LOG_CLASS (dev_log, static) = {
   .class_name = "dev",