summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 08:28:10 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-11-28 08:28:10 (GMT)
commit86411752caf12649c48ec741afa89471ca9243ee (patch) (side-by-side diff)
tree117ff41f493f037448b22bb3ab69631ad5301ab5
parent38cd993057ababdbf6b32aab35f834363647b7d8 (diff)
downloadvarnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.gz
varnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.bz2
Include local.h from varnish_mib.h
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/ban.c1
-rw-r--r--src/varnish_mib.mib2c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ban.c b/src/ban.c
index 8d48db2..3023838 100644
--- a/src/ban.c
+++ b/src/ban.c
@@ -17,7 +17,6 @@
#include "varnish_mib.h"
#include <ctype.h>
-#include <limits.h>
static int
send_ban_cmd(vcli_conn_t *conn, const char *expr)
diff --git a/src/varnish_mib.mib2c b/src/varnish_mib.mib2c
index 5d9cc6b..6452ac2 100644
--- a/src/varnish_mib.mib2c
+++ b/src/varnish_mib.mib2c
@@ -144,6 +144,7 @@ $vars{'modulename'} =~ s/\.c$//;
#include <stddef.h>
#include <stdlib.h>
#include <stdint.h>
+#include <limits.h>
#include <vapi/vsc.h>
#include <vapi/vsm.h>

Return to:

Send suggestions and report system problems to the System administrator.