Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2020-03-05 18:00:08 +0300
committerAndrei Vagin <avagin@gmail.com>2020-03-27 19:36:20 +0300
commit327554ee646ac8c7728981d0607dc42420c3a85a (patch)
tree3f566056c542b77207624dd67dbefd7f38466991 /include
parent62ad2f6095b466bfade1af6fea60bcb0fa1505ec (diff)
compel: Remove compel.h
The file only includes other headers (which may be not needed). If we aim for one-include-for-compel, we could instead paste all subheaders into "compel.h". Rather, I think it's worth to migrate to more fine-grained compel headers than follow the strategy 'one header to rule them all'. Further, the header creates problems for cross-compilation: it's included in files, those are used by host-compel. Which rightfully confuses compiler/linker as host's definitions for fpu regs/other platform details get drained into host's compel. Signed-off-by: Dmitry Safonov <dima@arista.com>
Diffstat (limited to 'include')
-rw-r--r--include/common/scm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common/scm.h b/include/common/scm.h
index ab27137b8..a8eb9ec4c 100644
--- a/include/common/scm.h
+++ b/include/common/scm.h
@@ -3,7 +3,9 @@
#include <stdint.h>
#include <stdbool.h>
+#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/uio.h>
/*
* Because of kernel doing kmalloc for user data passed