diff --git a/executer/kernel/mcctrl/syscall.c b/executer/kernel/mcctrl/syscall.c index 00da3d2a..b68ee89f 100644 --- a/executer/kernel/mcctrl/syscall.c +++ b/executer/kernel/mcctrl/syscall.c @@ -45,7 +45,7 @@ #include #include #include -#include "../../config.h" +#include "../../../config.h" #include "mcctrl.h" #include diff --git a/kernel/Makefile.build.in b/kernel/Makefile.build.in index ba02c913..369ce075 100644 --- a/kernel/Makefile.build.in +++ b/kernel/Makefile.build.in @@ -6,7 +6,7 @@ OBJS += process.o copy.o waitq.o futex.o timer.o plist.o fileobj.o shmobj.o OBJS += zeroobj.o procfs.o devobj.o sysfs.o xpmem.o rusage.o profile.o freeze.o DEPSRCS=$(wildcard $(SRC)/*.c) -CFLAGS += -I$(SRC)/include -I@abs_builddir@/include -D__KERNEL__ -g -fno-omit-frame-pointer -fno-inline -fno-inline-small-functions +CFLAGS += -I$(SRC)/include -I@abs_builddir@/../ -I@abs_builddir@/include -D__KERNEL__ -g -fno-omit-frame-pointer -fno-inline -fno-inline-small-functions LDFLAGS += -e arch_start IHKOBJ = ihk/ihk.o diff --git a/kernel/include/rusage.h b/kernel/include/rusage.h index 4a550166..e9a81a9e 100644 --- a/kernel/include/rusage.h +++ b/kernel/include/rusage.h @@ -1,7 +1,7 @@ #ifndef __RUSAGE_H #define __RUSAGE_H -#include "../../config.h" +#include #define RUSAGE_DEFAULT_SIZE 10