8c1a2e
diff -up wrk/genisoimage/rock.c.wrk wrk/genisoimage/rock.c
8c1a2e
--- wrk/genisoimage/rock.c.wrk	2017-01-04 14:25:54.879670532 +0100
8c1a2e
+++ wrk/genisoimage/rock.c	2017-01-04 15:11:38.061228649 +0100
8c1a2e
@@ -39,6 +39,11 @@
8c1a2e
 #include <device.h>
8c1a2e
 #include <schily.h>
8c1a2e
 
8c1a2e
+/* "major" and "minor" macros will be moved to sysmacros.h
8c1a2e
+ * silence the warning
8c1a2e
+ * added by cdrkit-1.1.11-sysmacros.patch */
8c1a2e
+#include <sys/sysmacros.h>
8c1a2e
+
8c1a2e
 #define	SU_VERSION 1
8c1a2e
 
8c1a2e
 #define	SL_ROOT    8
8c1a2e
diff -up wrk/genisoimage/tree.c.wrk wrk/genisoimage/tree.c
8c1a2e
--- wrk/genisoimage/tree.c.wrk	2017-01-04 14:21:47.472189363 +0100
8c1a2e
+++ wrk/genisoimage/tree.c	2017-01-04 15:13:32.989466729 +0100
8c1a2e
@@ -50,6 +50,11 @@
8c1a2e
 #include <schily.h>
8c1a2e
 #include <libgen.h>
8c1a2e
 
8c1a2e
+/* "major" and "minor" macros will be moved to sysmacros.h
8c1a2e
+ * silence the warning
8c1a2e
+ * added by cdrkit-1.1.11-sysmacros.patch */
8c1a2e
+#include <sys/sysmacros.h>
8c1a2e
+
8c1a2e
 extern int allow_limited_size;
8c1a2e
 
8c1a2e
 #ifdef VMS
8c1a2e
diff -up wrk/icedax/interface.c.wrk wrk/icedax/interface.c
8c1a2e
--- wrk/icedax/interface.c.wrk	2017-01-04 14:46:54.298203958 +0100
8c1a2e
+++ wrk/icedax/interface.c	2017-01-04 15:14:06.333535804 +0100
8c1a2e
@@ -55,6 +55,11 @@
8c1a2e
 #include <sys/ioctl.h>
8c1a2e
 #include <statdefs.h>
8c1a2e
 
8c1a2e
+/* "major" and "minor" macros will be moved to sysmacros.h
8c1a2e
+ * silence the warning
8c1a2e
+ * added by cdrkit-1.1.11-sysmacros.patch */
8c1a2e
+#include <sys/sysmacros.h>
8c1a2e
+
8c1a2e
 
8c1a2e
 #include "mycdrom.h"
8c1a2e
 #include "lowlevel.h"
8c1a2e
diff -up wrk/icedax/ioctl.c.wrk wrk/icedax/ioctl.c
8c1a2e
--- wrk/icedax/ioctl.c.wrk	2017-01-04 14:49:45.834583930 +0100
8c1a2e
+++ wrk/icedax/ioctl.c	2017-01-04 15:15:10.268668248 +0100
8c1a2e
@@ -36,6 +36,11 @@
8c1a2e
 #include <schily.h>
8c1a2e
 #include <device.h>
8c1a2e
 
8c1a2e
+/* "major" and "minor" macros will be moved to sysmacros.h
8c1a2e
+ * silence the warning
8c1a2e
+ * added by cdrkit-1.1.11-sysmacros.patch */
8c1a2e
+#include <sys/sysmacros.h>
8c1a2e
+
8c1a2e
 #include <usal/scsitransp.h>
8c1a2e
 
8c1a2e
 #include "mycdrom.h"