Add sys/sysmacros.h to mountpoint.c to fix compiling on

systems where major/minor macros are not defined implicitly.
This commit is contained in:
Jesse 2022-05-04 12:10:27 -03:00
parent e3d0f4bfc1
commit 746b0fc6a9
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,8 @@ sysvinit (3.05) unreleased; urgency=low
* Helge Kreutzmann provided updated Makefile for
translation of manual pages. This has been added
to the man directory.
* Added sys/sysmacros.h include in mountpoint.c to fix
compiler errors on systems where major/minor macros were not defined.
sysvinit (3.04) released; urgency=low
* Mark Hindley supplied patch to make bootlogd compile

View File

@ -32,6 +32,10 @@
#include <getopt.h>
#include <stdio.h>
#if defined (__linux__) || defined(__GNU__)
#include <sys/sysmacros.h>
#endif
#ifndef PATH_MAX
#define PATH_MAX 2048
#endif