Dirk Mueller
e8c16acbde
- killproc-sysmacros.patch, startpar-sysmacros.patch: Include <sys/sysmacros.h> for makedev OBS-URL: https://build.opensuse.org/request/show/626935 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=225
25 lines
681 B
Diff
25 lines
681 B
Diff
Index: killproc-2.21/libinit.c
|
|
===================================================================
|
|
--- killproc-2.21.orig/libinit.c
|
|
+++ killproc-2.21/libinit.c
|
|
@@ -23,6 +23,7 @@
|
|
*/
|
|
|
|
#include <sys/mount.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include "libinit.h" /* Now get the inlined functions */
|
|
#ifndef INITDIR
|
|
# define INITDIR "/etc/init.d"
|
|
Index: killproc-2.21/rvmtab.c
|
|
===================================================================
|
|
--- killproc-2.21.orig/rvmtab.c
|
|
+++ killproc-2.21/rvmtab.c
|
|
@@ -25,6 +25,7 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
#include "libinit.h"
|