diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c index 98297c9..0948501 100644 --- a/src/daemon/open_console.c +++ b/src/daemon/open_console.c @@ -23,6 +23,10 @@ #include /* stat() */ #include /* ioctl */ +#ifdef HAVE_SYS_SYSMACROS_H +#include /* major() w/newer glibc */ +#endif + /* Linux specific (to be outsourced in gpm2 */ #include /* for serial console check */ #include /* for serial console check */