From abfb04f8cc0e8257896eb330a9b1f7adf2a4e747 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 14 Aug 2019 14:12:15 -0500 Subject: [PATCH] lsteamclient: Fix debug printing --- lsteamclient/steamclient_manual_144.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lsteamclient/steamclient_manual_144.cpp b/lsteamclient/steamclient_manual_144.cpp index 8eba5a6d..6000cd78 100644 --- a/lsteamclient/steamclient_manual_144.cpp +++ b/lsteamclient/steamclient_manual_144.cpp @@ -1,19 +1,25 @@ +extern "C" { +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +} + #include "steam_defs.h" #include "steamworks_sdk_144/steam_api.h" #include "steamworks_sdk_144/isteamnetworkingsockets.h" #include "steamworks_sdk_144/steamnetworkingtypes.h" #include "steamclient_private.h" + extern "C" { #define SDKVER_144 #include "struct_converters.h" -#include "windows.h" #include "queue.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); - /***** manual struct converter for SteamNetworkingMessage_t *****/ struct msg_wrapper {