xenstored: enable usage of config.h on both xenstored and oxenstored
authorLuis R. Rodriguez <mcgrof@suse.com>
Thu, 17 Jul 2014 23:28:12 +0000 (16:28 -0700)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jul 2014 15:23:20 +0000 (16:23 +0100)
This will be used later for dynamic configuration paths on C code.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
tools/ocaml/xenstored/Makefile
tools/xenstore/Makefile

index b18f190c98b92187926598e529243c7d314dd305..7fa8f5334f594e9cab9dc72fe3edbe3b44f55695 100644 (file)
@@ -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 \
index 48b4e3dc87633b2f50b69d0140c605bb6951016e..08460c87a6b085ae2849bed2295affe2657de663 100644 (file)
@@ -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