From b4e5e90b8ba9c5b3b124f20cf900903c6fcce04d Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 3 Sep 2021 16:09:56 +0200 Subject: [PATCH] string_utils: fix includes Signed-off-by: Christian Brauner --- src/lxc/string_utils.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/lxc/string_utils.c b/src/lxc/string_utils.c index 95f3f59a3..e2bc9fe48 100644 --- a/src/lxc/string_utils.c +++ b/src/lxc/string_utils.c @@ -1,9 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif -#define __STDC_FORMAT_MACROS /* Required for PRIu64 to work. */ +#include "config.h" + #include #include #include @@ -26,13 +24,9 @@ #include #include -#include "config.h" -#include "lxclock.h" +#include "string_utils.h" #include "macro.h" #include "memory_utils.h" -#include "namespace.h" -#include "parse.h" -#include "string_utils.h" #ifndef HAVE_STRLCPY #include "strlcpy.h" -- 2.47.2