Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
f5c3ae59
Commit
f5c3ae59
authored
Mar 20, 2017
by
Stéphane Graber
Committed by
GitHub
Mar 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1476 from brauner/2017-03-20/sysmacro
tree-wide: include <sys/sysmacros.h> directly
parents
81f8080a
ce831b3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
lxclvm.c
src/lxc/bdev/lxclvm.c
+1
-3
conf.c
src/lxc/conf.c
+1
-3
No files found.
src/lxc/bdev/lxclvm.c
View file @
f5c3ae59
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/sysmacros.h>
#include <sys/wait.h>
#include <sys/wait.h>
#include "bdev.h"
#include "bdev.h"
...
@@ -41,9 +42,6 @@
...
@@ -41,9 +42,6 @@
#ifdef MAJOR_IN_MKDEV
#ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
# include <sys/mkdev.h>
#endif
#endif
#ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>
#endif
lxc_log_define
(
lxclvm
,
lxc
);
lxc_log_define
(
lxclvm
,
lxc
);
...
...
src/lxc/conf.c
View file @
f5c3ae59
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
#include <sys/prctl.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/sysmacros.h>
#include <sys/syscall.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <sys/utsname.h>
...
@@ -56,9 +57,6 @@
...
@@ -56,9 +57,6 @@
#ifdef MAJOR_IN_MKDEV
#ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
# include <sys/mkdev.h>
#endif
#endif
#ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>
#endif
#ifdef HAVE_STATVFS
#ifdef HAVE_STATVFS
#include <sys/statvfs.h>
#include <sys/statvfs.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment