This commit is contained in:
Rmys
2020-02-04 20:46:47 +03:00
parent 959138fd61
commit 253e5b5605
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,23 @@
Newer C libraries omit this include from sys/types.h.
--- a/src/bootlogd.c
+++ b/src/bootlogd.c
@@ -32,6 +32,7 @@
*
*/
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
diff -Nru a/src/mountpoint.c b/src/mountpoint.c
--- a/src/mountpoint.c 2005-09-10 11:32:27.000000000 +0200
+++ b/src/mountpoint.c 2018-10-01 20:40:37.166029012 +0200
@@ -14,6 +14,7 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
+1
View File
@@ -25,6 +25,7 @@
<!-- <Patch level="1">sysvinit-2.88-ipv6.patch</Patch> -->
<!-- <Patch level="1">sysvinit-2.88-omit.patch</Patch> -->
<!-- <Patch level="1">sysvinit-2.88-wall-maxlines.patch</Patch> -->
<Patch level="1">sysvinit-2.88-sysmacros.patch</Patch>
</Patches>
</Source>