Commit f6b87211 authored by Pavel Emelyanov's avatar Pavel Emelyanov

util: Include int.h (compilation fix)

After macvlan patches it turned out that util.h needs
int types in, so it's better include it there.
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 124fd587
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <errno.h> #include <errno.h>
#include "int.h"
#include "bug.h" #include "bug.h"
#include "log.h" #include "log.h"
#include "bfd.h" #include "bfd.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "int.h"
#include "compiler.h" #include "compiler.h"
#include "cgroup-props.h" #include "cgroup-props.h"
#include "cr_options.h" #include "cr_options.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
#include "external.h" #include "external.h"
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <sys/statfs.h> #include <sys/statfs.h>
#include <dirent.h> #include <dirent.h>
#include "int.h"
#include "compiler.h" #include "compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "bug.h" #include "bug.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <sys/shm.h> #include <sys/shm.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "util.h" #include "util.h"
#include "cr_options.h" #include "cr_options.h"
#include "imgset.h" #include "imgset.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "int.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "irmap.h" #include "irmap.h"
#include "mount.h" #include "mount.h"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "int.h"
#include "rbtree.h" #include "rbtree.h"
#include "util.h" #include "util.h"
#include "kcmp-ids.h" #include "kcmp-ids.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <errno.h> #include <errno.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "int.h"
#include "log.h" #include "log.h"
#include "restorer.h" #include "restorer.h"
#include "kerndat.h" #include "kerndat.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include "int.h"
#include "libnetlink.h" #include "libnetlink.h"
#include "util.h" #include "util.h"
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <fcntl.h> #include <fcntl.h>
#include "int.h"
#include "page.h" #include "page.h"
#include "compiler.h" #include "compiler.h"
#include "util.h" #include "util.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include "int.h"
#include "config.h" #include "config.h"
#include "pstree.h" #include "pstree.h"
#include "util.h" #include "util.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "util.h" #include "util.h"
#include "util-pie.h" #include "util-pie.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <stdlib.h> #include <stdlib.h>
#include "int.h"
#include "util.h" #include "util.h"
#include "common/list.h" #include "common/list.h"
#include "files.h" #include "files.h"
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#undef LOG_PREFIX #undef LOG_PREFIX
#define LOG_PREFIX "page-pipe: " #define LOG_PREFIX "page-pipe: "
#include "int.h"
#include "page.h" #include "page.h"
#include "config.h" #include "config.h"
#include "util.h" #include "util.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "int.h"
#include "compiler.h" #include "compiler.h"
#include "util.h" #include "util.h"
#include "ptrace.h" #include "ptrace.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <sched.h> #include <sched.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "util.h" #include "util.h"
#include "common/list.h" #include "common/list.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "namespaces.h" #include "namespaces.h"
#include "sysctl.h" #include "sysctl.h"
#include "util.h" #include "util.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <dirent.h> #include <dirent.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "criu-log.h" #include "criu-log.h"
#include "xmalloc.h" #include "xmalloc.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <sys/timerfd.h> #include <sys/timerfd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "int.h"
#include "protobuf.h" #include "protobuf.h"
#include "images/timerfd.pb-c.h" #include "images/timerfd.pb-c.h"
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <sched.h> #include <sched.h>
#include <ctype.h> #include <ctype.h>
#include "int.h"
#include "bitops.h" #include "bitops.h"
#include "page.h" #include "page.h"
#include "compiler.h" #include "compiler.h"
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#include <string.h> #include <string.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "util.h" #include "util.h"
#include "namespaces.h" #include "namespaces.h"
#include "sysctl.h" #include "sysctl.h"
......
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