aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/udpreceive~.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/udpreceive~.c b/net/udpreceive~.c
index db5dd87..75b5996 100644
--- a/net/udpreceive~.c
+++ b/net/udpreceive~.c
@@ -53,6 +53,8 @@
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h> /* for socklen_t */
+#endif
+#ifdef _MSC_VER
#define snprintf sprintf_s
#endif