caps: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-09-03 16:14:16 +02:00
parent f614b9f43d
commit 924c626a94
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D
2 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#include "config.h"
#include <errno.h>
#include <limits.h>
#include <fcntl.h>
@ -11,7 +10,6 @@
#include <sys/prctl.h>
#include "caps.h"
#include "config.h"
#include "file_utils.h"
#include "log.h"
#include "macro.h"

View File

@ -3,9 +3,10 @@
#ifndef __LXC_CAPS_H
#define __LXC_CAPS_H
#include "config.h"
#include <stdbool.h>
#include "config.h"
#include "compiler.h"
#if HAVE_LIBCAP