diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:06 +0900 |
commit | f5d08e9fa6464c876ab00c03fadc09a64edb5bb5 (patch) | |
tree | f0265be55c7d40723e2868f2540262bc5078330f /kexec/crashdump-xen.c | |
parent | 0151e38f0d87528c8856fcb0b4d53ed547c139b0 (diff) |
Use config.h for defines
Instead of putting a heap of -D directives in CPPFLAGS, use a config.h
header.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump-xen.c')
-rw-r--r-- | kexec/crashdump-xen.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kexec/crashdump-xen.c b/kexec/crashdump-xen.c index 4d6a25d..1fdaf05 100644 --- a/kexec/crashdump-xen.c +++ b/kexec/crashdump-xen.c @@ -14,7 +14,9 @@ #include "crashdump.h" #include "kexec-syscall.h" -#ifdef HAVE_XENCTRL_H +#include "config.h" + +#ifdef HAVE_LIBXENCTRL #include <xenctrl.h> #endif @@ -36,7 +38,7 @@ int xen_present(void) unsigned long xen_architecture(struct crash_elf_info *elf_info) { unsigned long machine = elf_info->machine; -#ifdef HAVE_XENCTRL_H +#ifdef HAVE_LIBXENCTRL int xc, rc; xen_capabilities_info_t capabilities; |