aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 10:28:10 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 10:28:10 +0200
commit86411752caf12649c48ec741afa89471ca9243ee (patch)
tree117ff41f493f037448b22bb3ab69631ad5301ab5
parent38cd993057ababdbf6b32aab35f834363647b7d8 (diff)
downloadvarnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.gz
varnish-mib-86411752caf12649c48ec741afa89471ca9243ee.tar.bz2
Include local.h from varnish_mib.h
-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
@@ -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>

Return to:

Send suggestions and report system problems to the System administrator.