summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking/recipes-daemons/lldpd/files/0001-priv-include-limits.h-for-PATH_MAX.patch
blob: 9ea4a9ffb501c110df45f1efe05c7944f9e68eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From c6a283bfcbfefe9c89113e81b0f792c12c4eefb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 25 Mar 2019 18:43:03 +0100
Subject: [PATCH] priv: include limits.h for PATH_MAX

Upstream-Status: Backport

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
 src/daemon/priv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/priv.c b/src/daemon/priv.c
index f4d6bdf..ba5ae58 100644
--- a/src/daemon/priv.c
+++ b/src/daemon/priv.c
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <signal.h>
 #include <errno.h>
+#include <limits.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
-- 
2.17.1