Commit a85b54ab authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

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: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent eb02c8c1
#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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment