direct-io.hg

diff tools/libxc/xenctrl.h @ 11393:fd6c2b5e041f

[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 31 18:54:50 2006 +0100 (2006-08-31)
parents 86d26e6ec89b
children 11645dda144c 7e79259c2c17
line diff
     1.1 --- a/tools/libxc/xenctrl.h	Thu Aug 31 18:23:28 2006 +0100
     1.2 +++ b/tools/libxc/xenctrl.h	Thu Aug 31 18:54:50 2006 +0100
     1.3 @@ -9,6 +9,11 @@
     1.4  #ifndef XENCTRL_H
     1.5  #define XENCTRL_H
     1.6  
     1.7 +/* Tell the Xen public headers we are a user-space tools build. */
     1.8 +#ifndef __XEN_TOOLS__
     1.9 +#define __XEN_TOOLS__ 1
    1.10 +#endif
    1.11 +
    1.12  #include <stddef.h>
    1.13  #include <stdint.h>
    1.14  #include <sys/ptrace.h>