1
0

patch-src_daemon_open_console_c 515 B

1234567891011
  1. --- gpm-1.20.7.orig/src/daemon/open_console.c 2012-10-26 23:21:38.000000000 +0200
  2. +++ gpm-1.20.7/src/daemon/open_console.c 2013-12-22 12:54:02.000000000 +0100
  3. @@ -27,6 +27,8 @@
  4. #include <linux/serial.h> /* for serial console check */
  5. #include <asm/ioctls.h> /* for serial console check */
  6. +#define major(dev) (((unsigned) (dev))>>8)
  7. +#define minor(dev) ((dev)&0xff)
  8. #include "headers/message.h" /* messaging in gpm */
  9. #include "headers/daemon.h" /* daemon internals */