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

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