Diffusion KWin 8826c7ff34f5

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
adridgJun 5 2020, 10:41 AM
Parents
R108:33aff4fcd0ec: Add Findepoll.cmake
Branches
Unknown
Tags
Unknown