Added define for GNU Hurd to pull in major/minor macros and

allow bootlogd to compile on Hurd.
This commit is contained in:
Jesse 2022-04-16 16:12:03 -03:00
parent 5eee38102b
commit bd0005e9b8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
sysvinit (3.03) unreleased; urgency=low
* Mark Hindley supplied patch to make bootlogd compile
on GNU Hurd systems. Was missing major/minor macro.
sysvinit (3.03) released; urgency=low sysvinit (3.03) released; urgency=low
* Fixed formatting in init.8 man page. * Fixed formatting in init.8 man page.
Patch provided by Mark Hindley. Patch provided by Mark Hindley.

View File

@ -43,6 +43,9 @@
#include <fcntl.h> #include <fcntl.h>
#ifdef __linux__ #ifdef __linux__
#include <pty.h> #include <pty.h>
#endif
#if defined (__linux__) || defined(__GNU__)
#include <sys/sysmacros.h> #include <sys/sysmacros.h>
#endif #endif