From bccfa3ef5be5364749582926018aa9cbba8f7fc9 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Sun, 5 Aug 2012 13:35:21 +0900 Subject: [PATCH] inclusion of sysdeps/knf/mic/mic_type.h for specifying CONFIG_KNF --- linux/mod_mcctrl/Makefile | 2 +- linux/mod_mcctrl/control.c | 1 + linux/mod_mcctrl/driver.c | 1 + linux/mod_mcctrl/ikc.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/linux/mod_mcctrl/Makefile b/linux/mod_mcctrl/Makefile index a9f16588..7b3bfa2b 100644 --- a/linux/mod_mcctrl/Makefile +++ b/linux/mod_mcctrl/Makefile @@ -11,7 +11,7 @@ obj-m += mcctrl.o mcctrl-objs := driver.o control.o ikc.o syscall.o AAL_BASE=$(src)/../../../aal -EXTRA_CFLAGS = -I$(AAL_BASE)/host/include -I$(AAL_BASE)/ikc/include -I$(src)/../include +EXTRA_CFLAGS = -I$(AAL_BASE)/host/include -I$(AAL_BASE)/host/driver/knf -I$(AAL_BASE)/include -I$(AAL_BASE)/ikc/include -I$(src)/../include .PHONY: clean install diff --git a/linux/mod_mcctrl/control.c b/linux/mod_mcctrl/control.c index 3616fd2c..863061ea 100644 --- a/linux/mod_mcctrl/control.c +++ b/linux/mod_mcctrl/control.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "mcctrl.h" #ifdef DEBUG diff --git a/linux/mod_mcctrl/driver.c b/linux/mod_mcctrl/driver.c index 9c5e8d26..f4092abb 100644 --- a/linux/mod_mcctrl/driver.c +++ b/linux/mod_mcctrl/driver.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "mcctrl.h" extern long __mcctrl_control(aal_os_t, unsigned int, unsigned long); diff --git a/linux/mod_mcctrl/ikc.c b/linux/mod_mcctrl/ikc.c index 497d7b03..67be93c5 100644 --- a/linux/mod_mcctrl/ikc.c +++ b/linux/mod_mcctrl/ikc.c @@ -6,6 +6,7 @@ #include "mcctrl.h" #include #include +#include #define REQUEST_SHIFT 16