diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-05-08 13:37:07 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-05-14 14:37:52 -0400 |
commit | 6b7655d6ea0115ea6edabd26aa0bcf0241ab0740 (patch) | |
tree | 091deaa3ecde19b7db4f858b9791bb3eab9f3282 | |
parent | d307dc016485f2811d2d722285a3a6c8a7f8cf12 (diff) |
Missing #ifdef for PCCONS
PCCONS support is not always present and should be condiontally compiled.
Refer to xserver definition of PCCONS_SUPPORT
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | src/bsd_kbd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index bc80692..aa0d473 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -88,8 +88,10 @@ SetKbdLeds(InputInfoPtr pInfo, int leds) switch (pKbd->consType) { +#ifdef PCCONS_SUPPORT case PCCONS: break; +#endif #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) case SYSCONS: case PCVT: @@ -111,8 +113,11 @@ GetKbdLeds(InputInfoPtr pInfo) int leds = 0, real_leds = 0; switch (pKbd->consType) { + +#ifdef PCCONS_SUPPORT case PCCONS: break; +#endif #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) case SYSCONS: case PCVT: @@ -145,8 +150,10 @@ SetKbdRepeat(InputInfoPtr pInfo, char rad) KbdDevPtr pKbd = (KbdDevPtr) pInfo->private; switch (pKbd->consType) { +#ifdef PCCONS_SUPPORT case PCCONS: break; +#endif #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) case SYSCONS: case PCVT: |