projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3d142c2162eb0c5354673b8f8e58c6091bf1e53b
[feed/packages.git]
/
net
/
tgt
/
patches
/
100-musl-compat.patch
1
--- a/usr/tgtd.h
2
+++ b/usr/tgtd.h
3
@@ -9,6 +9,10 @@
4
#include <systemd/sd-daemon.h>
5
#endif
6
7
+#ifndef __WORDSIZE
8
+#include <sys/reg.h>
9
+#endif
10
+
11
struct concat_buf;
12
13
#define NR_SCSI_OPCODES 256
14
--- a/usr/util.h
15
+++ b/usr/util.h
16
@@ -16,6 +16,10 @@
17
#include <limits.h>
18
#include <linux/types.h>
19
20
+#ifndef __WORDSIZE
21
+#include <sys/reg.h>
22
+#endif
23
+
24
#include "be_byteshift.h"
25
26
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))