[CRIU] [PATCH 2/6] compel: Prepare to ship common headers into compel

Cyrill Gorcunov gorcunov at openvz.org
Thu Nov 17 14:44:32 PST 2016


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/arch/x86/src/lib/include/uapi/asm/fpu.h | 2 +-
 compel/include/uapi/common                     | 1 +
 compel/plugins/include/uapi/plugin-fds.h       | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 120000 compel/include/uapi/common

diff --git a/compel/arch/x86/src/lib/include/uapi/asm/fpu.h b/compel/arch/x86/src/lib/include/uapi/asm/fpu.h
index 90071a1445b5..7525f153a7e1 100644
--- a/compel/arch/x86/src/lib/include/uapi/asm/fpu.h
+++ b/compel/arch/x86/src/lib/include/uapi/asm/fpu.h
@@ -5,7 +5,7 @@
 #include <stdbool.h>
 #include <stdint.h>
 
-#include "common/compiler.h"
+#include <compel/common/compiler.h>
 
 #define FP_MIN_ALIGN_BYTES		64
 
diff --git a/compel/include/uapi/common b/compel/include/uapi/common
new file mode 120000
index 000000000000..33f00f44a257
--- /dev/null
+++ b/compel/include/uapi/common
@@ -0,0 +1 @@
+../../../include/common
\ No newline at end of file
diff --git a/compel/plugins/include/uapi/plugin-fds.h b/compel/plugins/include/uapi/plugin-fds.h
index 4d2feedb3965..fbf5313a81be 100644
--- a/compel/plugins/include/uapi/plugin-fds.h
+++ b/compel/plugins/include/uapi/plugin-fds.h
@@ -7,6 +7,6 @@
 
 #include <sys/un.h>
 
-#include "common/scm.h"
+#include <compel/common/scm.h>
 
 #endif /* __COMPEL_PLUGIN_FDS_H__ */
-- 
2.7.4



More information about the CRIU mailing list