Code

Moved the definition of `T_MAX'.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 3 Oct 2006 16:37:43 +0000 (18:37 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 3 Oct 2006 16:37:43 +0000 (18:37 +0200)
src/dnstop.c
src/dnstop.h

index 93ad9bfdb6eba9ae25281feceda4a49c017ee9cd..ba70fd2542e448615f0671cacdc84c52332cb698 100644 (file)
@@ -154,7 +154,6 @@ typedef int (printer)(const char *, ...);
  * flags/features for non-interactive mode
  */
 
-#define T_MAX 65536
 #ifndef T_A6
 #define T_A6 38
 #endif
index 3d3eb0570badd7d627cc6c0fb2ea074251a007a7..666140e39bab03fdd878e14b42795c4eb8644b34 100644 (file)
  *   Florian octo Forster <octo at verplant.org>
  */
 
+#include <arpa/nameser.h>
+#include <pcap.h>
+
+#define T_MAX 65536
 extern int qtype_counts[T_MAX];
 
 void handle_pcap (u_char * udata, const struct pcap_pkthdr *hdr, const u_char * pkt);