$OpenBSD: patch-src_ppm_c,v 1.6 2013/01/16 04:52:53 lteo Exp $
--- src/ppm.c.orig	Fri Sep 21 02:09:13 2012
+++ src/ppm.c	Tue Oct  9 22:18:53 2012
@@ -456,7 +456,7 @@ void ppm_rule_log(ppm_cfg_t *ppm_cfg, uint64_t pktcnt,
             int i;
 
             if(!*timestamp)
-                ts_print((struct timeval*)&p->pkth->ts, timestamp);
+                ts_print((struct sf_timeval32*)&p->pkth->ts, timestamp);
 
             for (i=0; i< ppm_n_crules; i++)
             {
@@ -512,7 +512,7 @@ void ppm_rule_log(ppm_cfg_t *ppm_cfg, uint64_t pktcnt,
             LogMessage(PPM_FMT_SUS_PKT, pktcnt, src, p->sp, dst, p->dp);
 
             if(!*timestamp)
-                ts_print((struct timeval*)&p->pkth->ts, timestamp);
+                ts_print((struct sf_timeval32*)&p->pkth->ts, timestamp);
 
             for (i=0; i< ppm_n_rules; i++)
             {
