The kernel headers' linux/if.h file will not be included if you use it in your project. (See linux/if.h line 19): #ifndef _LINUX_IF_H # include <net/if.h> # define _LINUX_IF_H #endif #ifndef _LINUX_IF_H #define _LINUX_IF_H <Implementation> #endif /* _LINUX_IF_H */ Reproducible: Always Steps to Reproduce: Have look at line 19 in linux/if.h Expected Results: Include the file correctly (as the vanilla/debian headers do)
it isnt strange if you actually read the comments in the patch fixed with linux-2.6.25-r1