aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho do Couto <renato@netgate.com>2024-11-29 12:55:05 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-12-04 17:25:30 +0000
commiteec332b036717ad0e02822c00a78ff686ddae364 (patch)
treee717397766f48aa4c2063f733bfe859ab4afb14a /src
parentf71c6d436b1426fb07fe69849b0c26b66069e61c (diff)
dev: include limits.h for PATH_MAX
Type: fix Change-Id: I66607164b1552011b39808bafc8e02b5a24f883c Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/dev/bus/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dev/bus/platform.c b/src/vnet/dev/bus/platform.c
index 56a1f9c762c..55e2e048888 100644
--- a/src/vnet/dev/bus/platform.c
+++ b/src/vnet/dev/bus/platform.c
@@ -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",