From ea2272d4b06ca06aac17a7b9f21d3acf459b34d9 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Tue, 3 Apr 2018 20:38:15 +0200 Subject: [PATCH] Fix a build error for msvc The msvc build needs the platform header for the non-standard _snprintf function. --- src/bluetooth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bluetooth.c b/src/bluetooth.c index 772101f..5a37a5b 100644 --- a/src/bluetooth.c +++ b/src/bluetooth.c @@ -53,6 +53,7 @@ #include "iostream-private.h" #include "iterator-private.h" #include "descriptor-private.h" +#include "platform.h" #ifdef _WIN32 #define DC_ADDRESS_FORMAT "%012I64X"