SYNERGY1-1478 Fix compilation issues (#7163)

* SYNERGY1-1478 Fix compilation issues

* Update ChangeLog
This commit is contained in:
Serhii Hadzhilov
2022-05-04 12:09:23 +03:00
committed by GitHub
parent a12cc175eb
commit 7bc2d76e1b
3 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Enhancements:
Bug fixes:
- #7144 Fix double lines when pasting text from Linux to Windows
- #7149 Address issues with modifiers and dead keys
- #7163 Fix compilation issues for FreeBSD
Github Actions:
- #7148 Fix unstable build for windows core

View File

@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <array>
#include "arch/unix/ArchSystemUnix.h"
#include <sys/utsname.h>

View File

@ -273,7 +273,9 @@ bool XWindowsKeyState::setCurrentLanguageWithDBus(SInt32 group) const
if(!reply.isValid()) {
auto qerror = reply.error();
LOG((CLOG_WARN "Keyboard layout fail %s : %s", qerror.name().toStdString(), qerror.message().toStdString()));
LOG((CLOG_WARN "Keyboard layout fail %s : %s",
qerror.name().toStdString().c_str(),
qerror.message().toStdString().c_str()));
return true;
}