Author: delphij
Date: Thu Jun 27 17:33:04 2013
New Revision: 252307
URL: http://svnweb.freebsd.org/changeset/base/252307

Log:
  Fix build: in a recent pf refactor (head@240233), pf_var.h was modified
  to not include netinet/tcp_fsm.h, and HEAD tcpdump rely on this change
  as the tcp_fsm.h will only be processed once.
  
  Solve this by defining TCPSTATES earlier.  This wouldn't cause breakage
  should pf be merged in the future.
  
  Noticed by:   tinderbox via many
  Pointy hat to:        delphij

Modified:
  stable/9/contrib/tcpdump/print-pfsync.c

Modified: stable/9/contrib/tcpdump/print-pfsync.c
==============================================================================
--- stable/9/contrib/tcpdump/print-pfsync.c     Thu Jun 27 14:32:51 2013        
(r252306)
+++ stable/9/contrib/tcpdump/print-pfsync.c     Thu Jun 27 17:33:04 2013        
(r252307)
@@ -37,10 +37,10 @@
 
 #include <sys/endian.h>
 #include <net/if.h>
+#define        TCPSTATES
 #include <net/pfvar.h> /* XXX */
 #include <net/if_pfsync.h>
 #include <netinet/ip.h>
-#define        TCPSTATES
 #include <netinet/tcp_fsm.h>
 
 #include <string.h>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to