Diffusion KWin a748b0a1d6ad

Fix virtual_terminal.cpp build on FreeBSD

Authored by adridg on May 31 2020, 9:35 PM.

Description

Fix virtual_terminal.cpp build on FreeBSD

  • need to shuffle some Linux includes behind an ifdef, and some FreeBSD ones as well
  • FreeBSD has no notion of major device numbers anymore, so the isTty() function can't really tell. Just ignore the check -- I'm assuming the somewhat-standard isatty() doesn't do what is wanted, since otherwise it would be used.

Details

Committed
adridgMay 31 2020, 9:54 PM
Parents
R108:1eefce5a6680: Add Findepoll.cmake
Branches
Unknown
Tags
Unknown