freebsd-ports/net-mgmt/docsis/files/patch-src_docsis__snmp.h
Emanuel Haupt 308c03e75c - Update to 0.9.8
- Move from SF to GitHub
- Update WWW
- Pacify portlint
- Unbreak on amd64, "Philippe Maechler" <pmaechler-ml@glattnet.ch> notified us
  via ports@ that the produced config files work fine
2018-08-15 12:49:38 +00:00

23 lines
567 B
C

--- src/docsis_snmp.h.orig 2015-10-18 20:28:25 UTC
+++ src/docsis_snmp.h
@@ -25,12 +25,20 @@
#ifndef _DOCSIS_SNMP_H
#define _DOCSIS_SNMP_H
+#include <stdlib.h>
+
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/utilities.h>
#include <net-snmp/config_api.h>
#include <net-snmp/output_api.h>
#include <net-snmp/mib_api.h>
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+
#include "docsis.h"
unsigned int encode_vbind ( char *oid_string, char oid_asntype, union t_val *value,