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:
Cyrill Gorcunov 2014-02-17 16:26:24 +04:00 committed by Pavel Emelyanov
parent e98eeaa8b9
commit 9ddcc5d0d1

View file

@ -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__ */