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_cpuid.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_cpuid.c')
-rw-r--r-- | tools/libxl/libxl_cpuid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_cpuid.c b/tools/libxl/libxl_cpuid.c index 56a00cdf38..dcdb9d0216 100644 --- a/tools/libxl/libxl_cpuid.c +++ b/tools/libxl/libxl_cpuid.c @@ -10,6 +10,8 @@ * GNU Lesser General Public License for more details. */ +#include "libxl_osdeps.h" /* must come before any other headers */ + #include "libxl_internal.h" void libxl_cpuid_dispose(libxl_cpuid_policy_list *p_cpuid_list) |