openbsd-ports/net/snort/patches/patch-src_util_h

21 lines
732 B
Plaintext

$OpenBSD: patch-src_util_h,v 1.3 2010/07/12 19:38:40 sthen Exp $
--- src/util.h.orig Tue Jan 26 19:10:56 2010
+++ src/util.h Tue May 4 20:15:02 2010
@@ -40,6 +40,7 @@
#include "sflsq.h"
#include "sfutil/sf_ipvar.h"
#include "ipv6_port.h"
+#include "pcap_pkthdr32.h"
/* Macros *********************************************************************/
#define PCAP_CLOSE // allow for rollback for now
@@ -169,7 +170,7 @@ typedef struct _IntervalStats
int DisplayBanner(void);
void GetTime(char *);
int gmt2local(time_t);
-void ts_print(register const struct timeval *, char *);
+void ts_print(register const struct sf_timeval32 *, char *);
char *copy_argv(char **);
void strip(char *);
double CalcPct(uint64_t, uint64_t);