mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
5bfcf44bb8
commit
39cda1cf3f
2 files changed
+7
-2
No files matched your search
@@ -18,7 +18,7 @@ cd gdb-6.2.1-linux-i386-xen
|
||||
if [ "$MAKE" ]; then
|
||||
$MAKE
|
||||
elif which gmake ; then
|
||||
gmake -j4 CFLAGS=-D__XEN_TOOLS__
|
||||
gmake -j4
|
||||
else
|
||||
make -j4 CFLAGS=-D__XEN_TOOLS__
|
||||
make -j4
|
||||
fi
|
||||
@@ -9,6 +9,11 @@
|
||||
#ifndef XENCTRL_H
|
||||
#define XENCTRL_H
|
||||
|
||||
/* Tell the Xen public headers we are a user-space tools build. */
|
||||
#ifndef __XEN_TOOLS__
|
||||
#define __XEN_TOOLS__ 1
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/ptrace.h>
|
||||
|
||||