mirror of
git://github.com/lxc/lxc
synced 2025-08-31 17:11:05 +00:00
conf: fix includes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
#include "config.h"
|
||||||
#define _GNU_SOURCE 1
|
|
||||||
#endif
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -39,7 +38,6 @@
|
|||||||
#include "caps.h"
|
#include "caps.h"
|
||||||
#include "cgroups/cgroup.h"
|
#include "cgroups/cgroup.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
#include "config.h"
|
|
||||||
#include "confile.h"
|
#include "confile.h"
|
||||||
#include "confile_utils.h"
|
#include "confile_utils.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
@@ -3,9 +3,8 @@
|
|||||||
#ifndef __LXC_CONF_H
|
#ifndef __LXC_CONF_H
|
||||||
#define __LXC_CONF_H
|
#define __LXC_CONF_H
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
#include "config.h"
|
||||||
#define _GNU_SOURCE 1
|
|
||||||
#endif
|
|
||||||
#include <linux/magic.h>
|
#include <linux/magic.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
@@ -18,7 +17,6 @@
|
|||||||
#include "attach_options.h"
|
#include "attach_options.h"
|
||||||
#include "caps.h"
|
#include "caps.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
#include "config.h"
|
|
||||||
#include "hlist.h"
|
#include "hlist.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "lxcseccomp.h"
|
#include "lxcseccomp.h"
|
||||||
|
Reference in New Issue
Block a user