Permalink
Browse files

Add -I$(KERNEL_TREE)/include/ -I$(KERNEL_TREE)/include/linux to CFLAGS.

Fix suggested by several people (Vadim, Or, Alexander).
  • Loading branch information...
1 parent 15f9b05 commit 7ca7800f104af7cbb812ecc5d49ff2e240a73569 Mohan Srinivasan committed Feb 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Makefile
View
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS=-I$(KERNEL_TREE)/drivers/md -I./ -DCOMMIT_REV="\"$(COMMIT_REV)\""
+EXTRA_CFLAGS=-I$(KERNEL_TREE)/include/ -I$(KERNEL_TREE)/include/linux -I$(KERNEL_TREE)/drivers/md -I./ -DCOMMIT_REV="\"$(COMMIT_REV)\""
UTILS_CFLAGS=-I./ -DCOMMIT_REV="\"$(COMMIT_REV)\""
KERNEL_TREE ?= /lib/modules/$(shell uname -r)/build

0 comments on commit 7ca7800

Please sign in to comment.