Including WinSock headers is a game of Whac-A-Mole - if you ever get
winsock.h included before ws2def.h, you get a pile of errors, so you
have to be careful to include headers in just the right order.
See if this keeps moles from popping up.
#define __SSLUTILS_H__
#ifdef HAVE_OPENSSL
+#include "pcap/socket.h" // for SOCKET
#include <openssl/ssl.h>
#include <openssl/err.h>
-#include "pcap/socket.h" // for SOCKET
/*
* Utility functions