From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: [PATCH v4 03/15] xenstored: enable usage of config.h on both xenstored and oxenstored Date: Tue, 29 Apr 2014 18:11:56 -0700 Message-ID: <1398820328-15132-4-git-send-email-mcgrof@do-not-panic.com> References: <1398820328-15132-1-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WfJ4a-000098-Ch for xen-devel@lists.xenproject.org; Wed, 30 Apr 2014 01:12:32 +0000 Received: by mail-pa0-f41.google.com with SMTP id kp14so1095491pab.0 for ; Tue, 29 Apr 2014 18:12:28 -0700 (PDT) In-Reply-To: <1398820328-15132-1-git-send-email-mcgrof@do-not-panic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org From: "Luis R. Rodriguez" This will be used later for dynamic configuration paths on C code. Signed-off-by: Luis R. Rodriguez --- tools/ocaml/xenstored/Makefile | 2 ++ tools/xenstore/Makefile | 1 + tools/xenstore/xs.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/tools/ocaml/xenstored/Makefile b/tools/ocaml/xenstored/Makefile index b18f190..7fa8f53 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 262f401..21a3f11 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 diff --git a/tools/xenstore/xs.c b/tools/xenstore/xs.c index 968141d..f1d0f99 100644 --- a/tools/xenstore/xs.c +++ b/tools/xenstore/xs.c @@ -32,6 +32,8 @@ #include #include #include +#include + #include "xenstore.h" #include "list.h" #include "utils.h" -- 1.9.0