Commit b113348e by dlezcano

Change header inclusion path

parent d6cfdf43
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
static int dir_filter(const struct dirent *dirent) static int dir_filter(const struct dirent *dirent)
{ {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <errno.h> #include <errno.h>
#include <sys/param.h> #include <sys/param.h>
#include <lxc.h> #include <lxc/lxc.h>
#include "monitor.h" #include "monitor.h"
static int dir_filter(const struct dirent *dirent) static int dir_filter(const struct dirent *dirent)
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <sys/file.h> #include <sys/file.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <lxc.h> #include <lxc/lxc.h>
LXC_TTY_HANDLER(SIGINT); LXC_TTY_HANDLER(SIGINT);
LXC_TTY_HANDLER(SIGQUIT); LXC_TTY_HANDLER(SIGQUIT);
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
#include <lxc.h> #include <lxc/lxc.h>
static int freeze_unfreeze(const char *name, int freeze) static int freeze_unfreeze(const char *name, int freeze)
{ {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <sys/param.h> #include <sys/param.h>
#include <lxc.h> #include <lxc/lxc.h>
int lxc_kill(const char *name, int signum) int lxc_kill(const char *name, int signum)
{ {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h> #include <lxc/lxc.h>
#define MAXPRIOLEN 24 #define MAXPRIOLEN 24
#define MTAB "/etc/mtab" #define MTAB "/etc/mtab"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h> #include <lxc/lxc.h>
#include <network.h> #include <network.h>
#define MAXHWLEN 18 #define MAXHWLEN 18
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h> #include <lxc/lxc.h>
typedef int (*file_cb)(char* buffer, void *data); typedef int (*file_cb)(char* buffer, void *data);
typedef int (*config_cb)(char *value, struct lxc_conf *lxc_conf); typedef int (*config_cb)(char *value, struct lxc_conf *lxc_conf);
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h> #include <lxc/lxc.h>
#include "lxc_config.h" #include <lxc/lxc_config.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <libgen.h> #include <libgen.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <libgen.h> #include <libgen.h>
#include <string.h> #include <string.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <libgen.h> #include <libgen.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/file.h> #include <sys/file.h>
#include <lxc.h> #include <lxc/lxc.h>
int lxc_get_lock(const char *name) int lxc_get_lock(const char *name)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/file.h> #include <sys/file.h>
#include <lxc.h> #include <lxc/lxc.h>
#include "monitor.h" #include "monitor.h"
static char *strstate[] = { static char *strstate[] = {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <libgen.h> #include <libgen.h>
#include <sys/types.h> #include <sys/types.h>
#include <lxc.h> #include <lxc/lxc.h>
void usage(char *cmd) void usage(char *cmd)
{ {
......
...@@ -34,7 +34,8 @@ ...@@ -34,7 +34,8 @@
#include <sys/un.h> #include <sys/un.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <lxc.h>
#include <lxc/lxc.h>
#ifndef UNIX_PATH_MAX #ifndef UNIX_PATH_MAX
#define UNIX_PATH_MAX 108 #define UNIX_PATH_MAX 108
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <sys/prctl.h> #include <sys/prctl.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <lxc.h> #include <lxc/lxc.h>
LXC_TTY_HANDLER(SIGINT); LXC_TTY_HANDLER(SIGINT);
LXC_TTY_HANDLER(SIGQUIT); LXC_TTY_HANDLER(SIGQUIT);
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <lxc.h> #include <lxc/lxc.h>
int lxc_stop(const char *name) int lxc_stop(const char *name)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment