ece3fb3523
Based on PR pkg/48217 by Leonardo Taccari. Changes: v1.24 Mar 14 2010 - fixed another remotely triggerable NULL dereference in ip_fragment.c - unofficial patch that enables tracking of already established TCP connections - missing reset of some tcp_* variables upon nids_exit - correct calculation of radiotap header - compilation warning fixes with newer gcc - use pcap_get_selectable_fd() instead of pcap_fileno()
16 lines
368 B
C
16 lines
368 B
C
$NetBSD: patch-src_libnids.c,v 1.1 2013/10/06 08:25:37 obache Exp $
|
|
|
|
* check existence of alloca.h
|
|
|
|
--- src/libnids.c.orig 2010-03-01 21:13:25.000000000 +0000
|
|
+++ src/libnids.c
|
|
@@ -14,7 +14,9 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <syslog.h>
|
|
+#if (HAVE_ALLOCA_H)
|
|
#include <alloca.h>
|
|
+#endif
|
|
#include <pcap.h>
|
|
#include <errno.h>
|
|
#include <config.h>
|