39 lines
868 B
Diff
39 lines
868 B
Diff
The definition of __WORDSIZE is found in <sys/reg.h>
|
|
|
|
--- a/usr/iscsi/iscsid.h 2015-11-03 04:58:36.000000000 +0100
|
|
+++ b/usr/iscsi/iscsid.h 2015-11-04 16:23:25.029877334 +0100
|
|
@@ -22,6 +22,9 @@
|
|
#include <stdint.h>
|
|
#include <inttypes.h>
|
|
#include <netdb.h>
|
|
+#if !defined(__GLIBC__)
|
|
+#include <sys/reg.h>
|
|
+#endif
|
|
|
|
#include "transport.h"
|
|
#include "list.h"
|
|
--- a/usr/tgtd.h 2015-11-04 16:25:05.435884573 +0100
|
|
+++ b/usr/tgtd.h 2015-11-04 16:25:52.415887960 +0100
|
|
@@ -2,6 +2,9 @@
|
|
#ifndef __TARGET_DAEMON_H
|
|
#define __TARGET_DAEMON_H
|
|
|
|
+#if !defined(__GLIBC__)
|
|
+#include <sys/reg.h>
|
|
+#endif
|
|
#include "log.h"
|
|
#include "scsi_cmnd.h"
|
|
#include "tgtadm_error.h"
|
|
--- a/usr/util.h
|
|
+++ b/usr/util.h
|
|
@@ -19,6 +19,9 @@
|
|
#include <linux/fs.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
+#if !defined(__GLIBC__)
|
|
+#include <sys/reg.h>
|
|
+#endif
|
|
|
|
#include "be_byteshift.h"
|
|
|