aports/community/openvas-libraries/001-maxhostnamelen.patch
Francesco Colista 65c9d893ce community/openvas-libraries: renamed back from gvm-libs
Openvas are going to release gvm-libs with 1.0.0 rather than 10.0.0.
This will break upgrades.
See:  https://github.com/greenbone/gvm-libs/issues/189 for an issue opened at this regard.
In order to prepare openvas to next version, is better to rename it back to openvas-libraries.
2019-02-19 10:24:50 +00:00

13 lines
310 B
Diff

diff --git a/misc/pcap.c b/misc/pcap.c
index 125ea24..fa24299 100644
--- a/misc/pcap.c
+++ b/misc/pcap.c
@@ -16,6 +16,7 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <sys/param.h>
#include <netinet/in.h>
#include <resolv.h>
#include <pcap.h>