2
0
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:
Cyrill Gorcunov 2015-09-04 20:37:00 +03:00 committed by Pavel Emelyanov
parent eb02c8c1fd
commit a85b54ab54

View File

@ -1,7 +1,10 @@
#ifndef ZDTM_FS_H_ #ifndef ZDTM_FS_H_
#define ZDTM_FS_H_ #define ZDTM_FS_H_
#define _BSD_SOURCE #ifndef _BSD_SOURCE
# define _BSD_SOURCE
#endif
#include <sys/types.h> #include <sys/types.h>
#include <limits.h> #include <limits.h>