diff --git a/src/lxc/tools/lxc_wait.c b/src/lxc/tools/lxc_wait.c index 62b7c01b5e..6186bce059 100644 --- a/src/lxc/tools/lxc_wait.c +++ b/src/lxc/tools/lxc_wait.c @@ -20,6 +20,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +#define _GNU_SOURCE #include #include #include @@ -30,9 +32,8 @@ #include -#include "lxc.h" -#include "log.h" #include "arguments.h" +#include "tool_utils.h" static int my_checker(const struct lxc_arguments* args) { @@ -98,7 +99,6 @@ int main(int argc, char *argv[]) if (lxc_log_init(&log)) exit(EXIT_FAILURE); - lxc_log_options_no_override(); /* REMOVE IN LXC 3.0 */ setenv("LXC_UPDATE_CONFIG_FORMAT", "1", 0);