diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 10:28:10 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 10:28:10 +0200 |
commit | 86411752caf12649c48ec741afa89471ca9243ee (patch) | |
tree | 117ff41f493f037448b22bb3ab69631ad5301ab5 | |
parent | 38cd993057ababdbf6b32aab35f834363647b7d8 (diff) | |
download | varnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.gz varnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.bz2 |
Include local.h from varnish_mib.h
-rw-r--r-- | src/ban.c | 1 | ||||
-rw-r--r-- | src/varnish_mib.mib2c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -14,13 +14,12 @@ You should have received a copy of the GNU General Public License along with varnish-mib. If not, see <http://www.gnu.org/licenses/>. */ #include "varnish_mib.h" #include <ctype.h> -#include <limits.h> static int send_ban_cmd(vcli_conn_t *conn, const char *expr) { if (vcli_asprintf(conn, "ban %s\n", expr) || vcli_write(conn)) return 1; 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 @@ -141,12 +141,13 @@ $vars{'modulename'} =~ s/\.c$//; @open ${modulename}.h@ /* THIS FILE IS GENERATED AUTOMATICALLY. PLEASE DO NOT EDIT. */ #include <config.h> #include <stddef.h> #include <stdlib.h> #include <stdint.h> +#include <limits.h> #include <vapi/vsc.h> #include <vapi/vsm.h> #include <vcli.h> #include <net-snmp/net-snmp-config.h> |