mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
config-base: Add F_SETPIPE_SZ/F_GETPIPE_SZ
These are needed to compile project on CentOS 6. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
e98eeaa8b9
commit
9ddcc5d0d1
1 changed files with 15 additions and 0 deletions
|
|
@ -22,4 +22,19 @@ struct kernel_pipe_buffer {
|
|||
/* The number of pipes for one chunk */
|
||||
#define NR_PIPES_PER_CHUNK 8
|
||||
|
||||
/*
|
||||
* These things are required to compile on CentOS-6
|
||||
*/
|
||||
#ifndef F_LINUX_SPECIFIC_BASE
|
||||
# define F_LINUX_SPECIFIC_BASE 1024
|
||||
#endif
|
||||
|
||||
#ifndef F_SETPIPE_SZ
|
||||
# define F_SETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 7)
|
||||
#endif
|
||||
|
||||
#ifndef F_GETPIPE_SZ
|
||||
# define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8)
|
||||
#endif
|
||||
|
||||
#endif /* __CR_CONFIG_BASE_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue