aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptunnel.h')
-rw-r--r--src/ptunnel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ptunnel.h b/src/ptunnel.h
index 2fda8bc..6419eae 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -142,7 +142,12 @@ typedef struct {
#endif
/* function Prototypes */
-void* pt_proxy(void *args);
+#ifndef WIN32
+void * pt_proxy(void *args);
+#else
+unsigned int __stdcall pt_proxy(void *args);
+#endif
+
#ifdef HAVE_PCAP
void pcap_packet_handler(u_char *refcon, const struct pcap_pkthdr *hdr,
const u_char* pkt);