aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlu_cfg_i.h
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-01-13 16:54:19 +0000
committerIan Jackson <ian.jackson@eu.citrix.com>2012-01-13 16:54:19 +0000
commit8fc051a10f0df8e0030b2d6cbddb720f4322c7d3 (patch)
treeb084dd44fc9703591febed56091b8c6429520298 /tools/libxl/libxlu_cfg_i.h
parent3607a75236b37abe350bf52f4700355be963a60d (diff)
downloadxen-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/libxlu_cfg_i.h')
-rw-r--r--tools/libxl/libxlu_cfg_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxlu_cfg_i.h b/tools/libxl/libxlu_cfg_i.h
index ea6a326f52..54d033c9a4 100644
--- a/tools/libxl/libxlu_cfg_i.h
+++ b/tools/libxl/libxlu_cfg_i.h
@@ -18,6 +18,7 @@
#ifndef LIBXLU_CFG_I_H
#define LIBXLU_CFG_I_H
+#include "libxl_osdeps.h" /* must come before any other headers */
#include "libxlu_internal.h"
#include "libxlu_cfg_y.h"