include limits.h before using LONG_MAX (#7224)
This fixes build with musl standard C library. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Marcin Niestroj committed
Oct 29, 2019 at 19:52 UTC
fdeac75f9c2e83799c7a44a8a8647d5a561ec96e
1 file changed
+1
libnetdata/libnetdata.h
+1
@@ -65,6 +65,7 @@
65
#include <getopt.h>
66
#include <grp.h>
67
#include <pwd.h>
68
+#include <limits.h>
69
#include <locale.h>
70
#include <net/if.h>
71
#include <poll.h>