From a0fca977bf366b64a5cd3e1c71fce14a93b8a44c Mon Sep 17 00:00:00 2001
From: Toni Uhlig <matzeton@googlemail.com>
Date: Sun, 24 May 2020 20:21:27 +0200
Subject: moved HAVE_PCAP pre-processor conditional before pqueue

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
---
 src/ptunnel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/ptunnel.h')

diff --git a/src/ptunnel.h b/src/ptunnel.h
index 6419eae..9917f81 100644
--- a/src/ptunnel.h
+++ b/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 {
-- 
cgit v1.2.3