Browse Source

moved HAVE_PCAP pre-processor conditional before pqueue

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Toni Uhlig 2 years ago
parent
commit
a0fca977bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ptunnel.h

+ 1 - 1
src/ptunnel.h

@@ -104,6 +104,7 @@ typedef struct {
 	int sock;
 } pt_thread_info_t;
 
+#ifdef HAVE_PCAP
 /* pqueue_elem_t: An queue element in the pqueue structure (below).
  */
 typedef struct pqueue_elem_t {
@@ -123,7 +124,6 @@ typedef struct {
 	int elems;
 } pqueue_t;
 
-#ifdef HAVE_PCAP
 /* pcap_info_t: Structure to hold information related to packet capturing.
  */
 typedef struct {