Skip to content

Commit

Permalink
Fixes #include of winsock.h before winsock2.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver authored and azat committed Aug 27, 2023
1 parent c9ec6aa commit 21d2f5a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bufferevent_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "event2/event-config.h"
#include "evconfig-private.h"

#ifdef _WIN32
# include <winsock2.h>
#endif

#include <string.h>

#include <openssl/ssl.h>
Expand Down

0 comments on commit 21d2f5a

Please sign in to comment.