diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 0eeb0fe2..3c9564e5 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -1521,9 +1521,11 @@ with open(u"unixlib_generated.h", "w") as file: out(u'#endif /* __cplusplus */\n') out(u'\n') + out(u'#include \n\n') for klass, method in all_methods: sdkver = klass._sdkver method.write_params(out) + out(u'#include \n\n') out(u'enum unix_funcs\n') out(u'{\n') diff --git a/lsteamclient/unixlib.h b/lsteamclient/unixlib.h index 021f4a66..a1d71aa8 100644 --- a/lsteamclient/unixlib.h +++ b/lsteamclient/unixlib.h @@ -21,6 +21,8 @@ extern "C" #define PATH_MAX 4096 extern char g_tmppath[PATH_MAX]; +#include + struct steamclient_init_params { const char *steam_app_id; @@ -211,6 +213,8 @@ struct networking_message }; }; +#include + typedef NTSTATUS (*unixlib_entry_t)( void *args ); extern const unixlib_entry_t __wine_unix_call_funcs[]; diff --git a/lsteamclient/unixlib_generated.h b/lsteamclient/unixlib_generated.h index 9a0d1e8e..c07e9648 100644 --- a/lsteamclient/unixlib_generated.h +++ b/lsteamclient/unixlib_generated.h @@ -7,6 +7,8 @@ extern "C" { #endif /* __cplusplus */ +#include + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params { struct u_steam_iface *linux_side; @@ -45557,6 +45559,8 @@ struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params int8_t _ret; }; +#include + enum unix_funcs { unix_steamclient_init,