From: Vincent Bernat Date: Thu, 7 Sep 2017 17:52:01 +0000 (+0200) Subject: src: #include when using strtonum() X-Git-Tag: 0.9.9~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=630374d49b6f701b412f6440da67b6a4e370d4dc;p=thirdparty%2Flldpd.git src: #include when using strtonum() `strtonum()` seems to work without it, but there is a hint in issue #242 that there is something fishy around that. --- diff --git a/src/client/conf-lldp.c b/src/client/conf-lldp.c index c16219bd..c9939f1b 100644 --- a/src/client/conf-lldp.c +++ b/src/client/conf-lldp.c @@ -17,6 +17,7 @@ #include #include +#include #include "client.h" #include "../log.h" diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 6603d604..45397fd3 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include