File sysmacros.patch of Package libdlm

Index: dlm-4.0.7/dlm_controld/action.c
===================================================================
--- dlm-4.0.7.orig/dlm_controld/action.c
+++ dlm-4.0.7/dlm_controld/action.c
@@ -7,6 +7,7 @@
  */
 
 #include "dlm_daemon.h"
+#include <sys/sysmacros.h>
 
 #include <corosync/corotypes.h>
 #include <corosync/cmap.h>
Index: dlm-4.0.7/libdlm/libdlm.c
===================================================================
--- dlm-4.0.7.orig/libdlm/libdlm.c
+++ dlm-4.0.7/libdlm/libdlm.c
@@ -11,6 +11,7 @@
 #include <pthread.h>
 #endif
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>
 #include <sys/stat.h>
openSUSE Build Service is sponsored by