diff --git a/iscsi-scst/kernel/isert-scst/Makefile b/iscsi-scst/kernel/isert-scst/Makefile index b2a08e8c0..d5382a1f5 100644 --- a/iscsi-scst/kernel/isert-scst/Makefile +++ b/iscsi-scst/kernel/isert-scst/Makefile @@ -25,7 +25,7 @@ cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ enable-Wextra = $(shell uname_r="$$(uname -r)"; if [ "$${uname_r%.el5}" = "$${uname_r}" ]; then echo "$(1)"; fi) LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE) -EXTRA_CFLAGS += -I$(src)/../../include -I$(src)/../ -I$(SCST_INC_DIR) +EXTRA_CFLAGS += -I$(src)/../../include -I$(SCST_INC_DIR) EXTRA_CFLAGS += $(call enable-Wextra,-Wextra \ $(call cc-option,-Wno-old-style-declaration) \ -Wno-unused-parameter -Wno-missing-field-initializers) diff --git a/iscsi-scst/kernel/isert-scst/iser_datamover.h b/iscsi-scst/kernel/isert-scst/iser_datamover.h index 8beda2cde..9a41dc291 100644 --- a/iscsi-scst/kernel/isert-scst/iser_datamover.h +++ b/iscsi-scst/kernel/isert-scst/iser_datamover.h @@ -36,7 +36,7 @@ #ifndef __ISER_DATAMOVER_H__ #define __ISER_DATAMOVER_H__ -#include "iscsi.h" +#include "../iscsi.h" /* iscsi layer calling iser */ int isert_datamover_init(void); diff --git a/iscsi-scst/kernel/isert-scst/iser_hdr.h b/iscsi-scst/kernel/isert-scst/iser_hdr.h index 4cfd74a94..c996ad676 100644 --- a/iscsi-scst/kernel/isert-scst/iser_hdr.h +++ b/iscsi-scst/kernel/isert-scst/iser_hdr.h @@ -36,7 +36,7 @@ #ifndef __ISER_HDR_H__ #define __ISER_HDR_H__ -#include "iscsi.h" +#include "../iscsi.h" #define ISCSI_LOGIN_MAX_RDSL (8 * 1024) diff --git a/iscsi-scst/kernel/isert-scst/iser_pdu.c b/iscsi-scst/kernel/isert-scst/iser_pdu.c index ef4c60e28..667052048 100644 --- a/iscsi-scst/kernel/isert-scst/iser_pdu.c +++ b/iscsi-scst/kernel/isert-scst/iser_pdu.c @@ -38,7 +38,7 @@ #include #include "iser.h" -#include "iscsi.h" +#include "../iscsi.h" #include "iser_datamover.h" static inline int isert_pdu_rx_buf_init(struct isert_cmnd *isert_pdu, diff --git a/iscsi-scst/kernel/isert-scst/isert.h b/iscsi-scst/kernel/isert-scst/isert.h index 178b2284f..8dde1a70a 100644 --- a/iscsi-scst/kernel/isert-scst/isert.h +++ b/iscsi-scst/kernel/isert-scst/isert.h @@ -54,12 +54,11 @@ #ifdef INSIDE_KERNEL_TREE #include #include -#include #else #include "isert_scst.h" #include "iscsi_scst.h" -#include "iscsi.h" #endif +#include "../iscsi.h" #include "iser_hdr.h" diff --git a/iscsi-scst/kernel/isert-scst/isert_login.c b/iscsi-scst/kernel/isert-scst/isert_login.c index 74615a925..3a1c9616a 100644 --- a/iscsi-scst/kernel/isert-scst/isert_login.c +++ b/iscsi-scst/kernel/isert-scst/isert_login.c @@ -40,13 +40,7 @@ #include #include #include - -#ifdef INSIDE_KERNEL_TREE -#include -#else -#include "iscsi.h" -#endif - +#include "../iscsi.h" #include "isert.h" #include "isert_dbg.h" #include "iser_datamover.h"