diff --git a/internal/platform/implementation/windows/bluetooth_adapter.cc b/internal/platform/implementation/windows/bluetooth_adapter.cc index 9c39bc03..cffe1662 100644 --- a/internal/platform/implementation/windows/bluetooth_adapter.cc +++ b/internal/platform/implementation/windows/bluetooth_adapter.cc @@ -429,7 +429,7 @@ bool BluetoothAdapter::SetName(absl::string_view name) { RegCloseKey(hKey); // tells the control function to reset or reload or similar... - int32 reload = 4; + int32_t reload = 4; // merely a placeholder DWORD bytes = 0; diff --git a/internal/platform/implementation/windows/bluetooth_adapter.h b/internal/platform/implementation/windows/bluetooth_adapter.h index 6f786a95..5313126a 100644 --- a/internal/platform/implementation/windows/bluetooth_adapter.h +++ b/internal/platform/implementation/windows/bluetooth_adapter.h @@ -17,6 +17,7 @@ #include +#include #include #include "internal/platform/implementation/bluetooth_adapter.h"