aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-05-24 20:21:27 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-05-24 20:21:27 +0200
commita0fca977bf366b64a5cd3e1c71fce14a93b8a44c (patch)
tree8b9e19902c8b0faea34544c465ef3cb24bb84d24
parent3d8dc5110c72fa7377e10638b8e4be783a863cc6 (diff)
moved HAVE_PCAP pre-processor conditional before pqueue
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--src/ptunnel.h2
1 files changed, 1 insertions, 1 deletions
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 {