From 1c266f4849bf721ebdc9f0777d9d324e2647f6cd Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Fri, 9 Mar 2018 14:31:07 +0900 Subject: [PATCH] mcstat: Fix build error --- tools/mcstat/Makefile.in | 6 +++--- tools/mcstat/mcstat.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/mcstat/Makefile.in b/tools/mcstat/Makefile.in index fe35ca36..3dcf4faa 100644 --- a/tools/mcstat/Makefile.in +++ b/tools/mcstat/Makefile.in @@ -10,10 +10,10 @@ MANDIR=@MANDIR@ MCKERNEL_INCDIR=@MCKERNEL_INCDIR@ KDIR ?= @KDIR@ ARCH=@ARCH@ -IHKDIR ?= $(VPATH)/../../../ihk/linux/include/ -CFLAGS=-Wall -O -I. -I${MCKERNEL_INCDIR} -I${IHKDIR} -LDFLAGS=@LDFLAGS@ VPATH=@abs_srcdir@ +IHKDIR ?= $(VPATH)/../../../ihk/linux/include/ +CFLAGS=-Wall -O -I. -I${MCKERNEL_INCDIR} -I${IHKDIR} -I@abs_srcdir@/../../executer/include +LDFLAGS=@LDFLAGS@ TARGET=mcstat .PHONY: all clean install diff --git a/tools/mcstat/mcstat.c b/tools/mcstat/mcstat.c index 942b6c15..260820d7 100644 --- a/tools/mcstat/mcstat.c +++ b/tools/mcstat/mcstat.c @@ -18,7 +18,7 @@ #include #include // mcctrl_ioctl_getrusage_desc is defined here #undef IHK_MAX_NUM_NUMA_NODES -#include // mckernel_rusage is defined here +#include // mckernel_rusage is defined here #define MAX_CPUS 256 #define MiB100 (100*1024*1024) // 100 MiB