想請教各位大大,kernel module 裡面是不是不能用到 kernel header 以外的 include
path?目前想把 stdint.h 引用進去,可是發現 kernel header 裡面的 stdint.h 內容
跟 /usr/include 那邊的stdint.h 不一樣,而且直接引用會出錯(include_next 相關),
可是假如強制餵給 make (-I/use/include) 又會有重複宣告的問題,網路上看到有人這
樣解決...。不知道想引用的話是不是有專門的方法呢?
謝謝大家!
手機發文,傷眼抱歉!