diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-01-13 16:54:19 +0000 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-01-13 16:54:19 +0000 |
commit | 8fc051a10f0df8e0030b2d6cbddb720f4322c7d3 (patch) | |
tree | b084dd44fc9703591febed56091b8c6429520298 /tools/libxl/libxl_blktap2.c | |
parent | 3607a75236b37abe350bf52f4700355be963a60d (diff) | |
download | xen-8fc051a10f0df8e0030b2d6cbddb720f4322c7d3.tar.gz xen-8fc051a10f0df8e0030b2d6cbddb720f4322c7d3.tar.bz2 xen-8fc051a10f0df8e0030b2d6cbddb720f4322c7d3.zip |
libxl: move a lot more includes into libxl_internal.h
Move a lot of
#include <stdfoo.h>
from individual files into libxl_internal.h. This helps avoid
portability mistakes where necessary system headers are omitted from
individual files, and is also of course a convenience when developing.
Also add
#include "libxl_osdeps.h" /* must come before any other headers */
to the top of most libxl*.c files, so that anyone who adds any headers
before libxl_internal.h will put the in the right place.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_blktap2.c')
-rw-r--r-- | tools/libxl/libxl_blktap2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/libxl/libxl_blktap2.c b/tools/libxl/libxl_blktap2.c index acf4110ea8..2c40182057 100644 --- a/tools/libxl/libxl_blktap2.c +++ b/tools/libxl/libxl_blktap2.c @@ -12,13 +12,11 @@ * GNU Lesser General Public License for more details. */ -#include "libxl_osdeps.h" +#include "libxl_osdeps.h" /* must come before any other headers */ #include "libxl_internal.h" #include "tap-ctl.h" -#include <string.h> - int libxl__blktap_enabled(libxl__gc *gc) { const char *msg; |