mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue