mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 09:47:06 +00:00
lxc: fix erroneous includes
The "" notation is preferrable if the header file is local. Signed-off-by: Greg Kurz <gkurz@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
f6267d9011
commit
f549edcc73
@ -28,8 +28,9 @@
|
||||
#include <unistd.h>
|
||||
#include <linux/genetlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <nl.h>
|
||||
#include <genl.h>
|
||||
|
||||
#include "nl.h"
|
||||
#include "genl.h"
|
||||
|
||||
static int genetlink_resolve_family(const char *family)
|
||||
{
|
||||
|
@ -28,7 +28,8 @@
|
||||
|
||||
#include <lxc/lxc.h>
|
||||
#include <lxc/log.h>
|
||||
#include <commands.h>
|
||||
|
||||
#include "commands.h"
|
||||
#include "arguments.h"
|
||||
|
||||
static bool state;
|
||||
|
@ -21,7 +21,7 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <list.h>
|
||||
#include "list.h"
|
||||
|
||||
struct lxc_epoll_descr {
|
||||
int epfd;
|
||||
|
@ -44,8 +44,9 @@
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/if_bridge.h>
|
||||
#include <nl.h>
|
||||
#include <network.h>
|
||||
|
||||
#include "nl.h"
|
||||
#include "network.h"
|
||||
|
||||
#ifndef IFLA_LINKMODE
|
||||
# define IFLA_LINKMODE 17
|
||||
|
@ -29,7 +29,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <nl.h>
|
||||
|
||||
#include "nl.h"
|
||||
|
||||
#define NLMSG_TAIL(nmsg) \
|
||||
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
|
||||
|
@ -21,7 +21,8 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../config.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#undef _GNU_SOURCE
|
||||
#include <string.h>
|
||||
|
@ -28,8 +28,9 @@
|
||||
#include <unistd.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <nl.h>
|
||||
#include <rtnl.h>
|
||||
|
||||
#include "nl.h"
|
||||
#include "rtnl.h"
|
||||
|
||||
extern int rtnetlink_open(struct rtnl_handler *handler)
|
||||
{
|
||||
|
@ -21,7 +21,8 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../config.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#undef _GNU_SOURCE
|
||||
#include <string.h>
|
||||
@ -32,7 +33,6 @@
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <namespace.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/mount.h>
|
||||
@ -125,6 +125,7 @@ int signalfd(int fd, const sigset_t *mask, int flags)
|
||||
#include "commands.h"
|
||||
#include "console.h"
|
||||
#include "sync.h"
|
||||
#include "namespace.h"
|
||||
|
||||
lxc_log_define(lxc_start, lxc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user