From d4b137f4096ababce92a453f2ff6e6e98c7107c6 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 17 Jul 2014 16:28:12 -0700 Subject: [PATCH] xenstored: enable usage of config.h on both xenstored and oxenstored This will be used later for dynamic configuration paths on C code. Acked-by: Ian Campbell Signed-off-by: Luis R. Rodriguez --- tools/ocaml/xenstored/Makefile | 2 ++ tools/xenstore/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/ocaml/xenstored/Makefile b/tools/ocaml/xenstored/Makefile index b18f190c98..7fa8f5334f 100644 --- a/tools/ocaml/xenstored/Makefile +++ b/tools/ocaml/xenstored/Makefile @@ -2,6 +2,8 @@ XEN_ROOT = $(CURDIR)/../../.. OCAML_TOPLEVEL = $(CURDIR)/.. include $(OCAML_TOPLEVEL)/common.make +CFLAGS += -I$(XEN_ROOT)/tools/ + OCAMLINCLUDE += \ -I $(OCAML_TOPLEVEL)/libs/xb \ -I $(OCAML_TOPLEVEL)/libs/mmap \ diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 48b4e3dc87..08460c87a6 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -6,6 +6,7 @@ MINOR = 3 CFLAGS += -Werror CFLAGS += -I. +CFLAGS += -I$(XEN_ROOT)/tools/ CFLAGS += $(CFLAGS_libxenctrl) CLIENTS := xenstore-exists xenstore-list xenstore-read xenstore-rm xenstore-chmod -- 2.30.2