aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocfs2-tools/musl-sys-raw.h.patch
blob: d29210d43384396c5b02fcac84eb7dcdec03b2c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Wed, 23 May 2018 21:18:00 +0200
Subject: [PATCH] Replace include sys/raw.h with linux/raw.h

--- a/debugfs.ocfs2/include/main.h
+++ b/debugfs.ocfs2/include/main.h
@@ -45,7 +45,7 @@
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <signal.h>
-#include <sys/raw.h>
+#include <linux/raw.h>
 #include <linux/kdev_t.h>
 #include <inttypes.h>
 #include <utime.h>
--- a/fswreck/include/main.h
+++ b/fswreck/include/main.h
@@ -43,7 +43,7 @@
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <signal.h>
-#include <sys/raw.h>
+#include <linux/raw.h>
 #include <linux/kdev_t.h>
 #include <inttypes.h>
 
--- a/o2info/operations.c
+++ b/o2info/operations.c
@@ -22,7 +22,7 @@
 #define _GNU_SOURCE /* Because libc really doesn't want us using O_DIRECT? */
 
 #include <errno.h>
-#include <sys/raw.h>
+#include <linux/raw.h>
 #include <inttypes.h>
 
 #include "ocfs2/ocfs2.h"