tgt/tgt-include-sys-macros-for-major.patch

12 lines
390 B
Diff
Raw Normal View History

diff -aurp tgt-1.0.60.orig/usr/bs_sg.c tgt-1.0.60/usr/bs_sg.c
--- tgt-1.0.60.orig/usr/bs_sg.c 2015-07-01 17:10:39.000000000 -0700
+++ tgt-1.0.60/usr/bs_sg.c 2018-08-11 18:03:25.489712435 -0700
@@ -38,6 +38,7 @@
#include <sys/epoll.h>
#include <sys/sysmacros.h>
#include <scsi/sg.h>
+#include <sys/sysmacros.h>
#include "bsg.h" /* Copied from include/linux/bsg.h */
#include "list.h"