diff --git a/common/common.mk b/common/common.mk index caedfe6e..9056c4a8 100644 --- a/common/common.mk +++ b/common/common.mk @@ -38,8 +38,8 @@ EXTRA_DEPS += # BPF-prog kern and userspace shares struct via header file: KERN_USER_H ?= $(wildcard common_kern_user.h) -CFLAGS += -I$(INCLUDE_DIR) -I$(HEADER_DIR) -I$(LIB_DIR)/util -I$(LIB_DIR)/install/include $(EXTRA_CFLAGS) -BPF_CFLAGS += -I$(INCLUDE_DIR) -I$(HEADER_DIR) -I$(LIB_DIR)/install/include $(EXTRA_CFLAGS) +CFLAGS += -I$(LIB_DIR)/install/include $(EXTRA_CFLAGS) +BPF_CFLAGS += -I$(LIB_DIR)/install/include $(EXTRA_CFLAGS) LDFLAGS += -L$(LIB_DIR)/install/lib BPF_HEADERS := $(wildcard $(HEADER_DIR)/*/*.h) $(wildcard $(INCLUDE_DIR)/*/*.h)