After the bit unclear discussion about kernel headers I decided to clean
up my patches and added some smaller fixes.
The first patch just changes the Makefiles to strip away -D__KERNEL__
instead of the kernel headers. The second patch makes it compile again.
A few notes about that patch:
chan_user.c: warning fix
syscall_user.c: not to userspace exported defines
time.c: defining _GNU_SOURCE is the proper way to make timeradd/timersub
ptrace.c: warning fix
unistd.h: most of this could actually go into linux/unistd.h
I think it's safer to just keep the current kernel includes in the
search path instead of possibly taking whatever is currently installed
Get latest updates about Open Source Projects, Conferences and News.