diff options
author | Dmitry Safonov <dima@arista.com> | 2020-03-05 18:00:08 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-03-27 19:36:20 +0300 |
commit | 327554ee646ac8c7728981d0607dc42420c3a85a (patch) | |
tree | 3f566056c542b77207624dd67dbefd7f38466991 /include | |
parent | 62ad2f6095b466bfade1af6fea60bcb0fa1505ec (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.h | 2 |
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 |