mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-16 08:30:36 +01:00
xfree86: fix build on GNU/kFreeBSD
GNU/kFreeBSD defines __FreeBSD_kernel__, but not __FreeBSD__. Unify preprocessor conditionals between variable declaration and use. Debian bug #482550.
This commit is contained in:
parent
6c72961d8f
commit
e6cbb1e11e
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ xf86OpenConsole()
|
|||
xf86ConsOpen_t *driver;
|
||||
#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
|
||||
int result;
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
struct utsname uts;
|
||||
#endif
|
||||
vtmode_t vtmode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue