mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 18:07:57 +00:00
zdtm: Fix building for @_BSD_SOURCE redefinition
Travis testing engine complained about @_BSD_SOURCE which is not the case on my build environment. Anyway lets do a safe thing -- conditional definition. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
eb02c8c1fd
commit
a85b54ab54
@ -1,7 +1,10 @@
|
||||
#ifndef ZDTM_FS_H_
|
||||
#define ZDTM_FS_H_
|
||||
|
||||
#define _BSD_SOURCE
|
||||
#ifndef _BSD_SOURCE
|
||||
# define _BSD_SOURCE
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <limits.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user