mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
build: Move generated config.h into include/common/
config.h is a generated file with "build-features" defines. We use it for several purposes: o to check that compiler can do it's job o to complement user-visible API between distributions o to add compile-time options from .config global file It's used in criu and soccr, but compel also needs such thing. Previously, soccr has a link to config.h in criu includes, but it would be much cleaner to move it to other headers, that are shared between sub-projects into include/common. Reported-by: Adrian Reber <areber@redhat.com> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Tested-by: Adrian Reber <areber@redhat.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
585dda236c
commit
d541bc797c
23 changed files with 25 additions and 30 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <stdint.h> /* uint32_t */
|
||||
#include <sys/socket.h> /* sockaddr */
|
||||
|
||||
#include "config.h"
|
||||
#include "common/config.h"
|
||||
|
||||
/* All packets with this mark have not to be blocked. */
|
||||
#define SOCCR_MARK 0xC114
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue