Skip to content

Commit

Permalink
udp: fix win32 msvc warnings (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Feb 25, 2022
1 parent 716f564 commit 6e30dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/udp/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
#include <re_net.h>
#include <re_udp.h>
#ifdef WIN32
#if !defined(_MSC_VER)
typedef UINT32 QOS_FLOWID, *PQOS_FLOWID;
#ifndef QOS_NON_ADAPTIVE_FLOW
#define QOS_NON_ADAPTIVE_FLOW 0x00000002
#endif
#endif
#include <winsock2.h>
#include <qos2.h>
#endif
Expand Down

0 comments on commit 6e30dbe

Please sign in to comment.