sysvinit
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user