diff --git a/xvaga/oslinux.cpp b/xvaga/oslinux.cpp index 87c44fb20..510b9c658 100755 --- a/xvaga/oslinux.cpp +++ b/xvaga/oslinux.cpp @@ -125,6 +125,7 @@ bool OsLinux_SL_Crypt(unsigned short* data) bool OsLinux_SL_Login(const unsigned char* label, const unsigned char* password) { + memset(&skey, 0, sizeof(SKEY_DATA)); skey.command = LOCATING_MODE; skey.status = ST_HW_FAILURE; // Don't leave ST_OK = 0 here! memcpy(skey.label, label, strlen((const char*)label)); diff --git a/xvaga/wxinc.h b/xvaga/wxinc.h index 9d2925db8..5d4906d8a 100755 --- a/xvaga/wxinc.h +++ b/xvaga/wxinc.h @@ -17,6 +17,7 @@ #define _LARGE_FILES #define __WXGTK__ #define GTK_NO_CHECK_CASTS +#define _IODBC #include #endif