Messages in this thread | | | Date | Mon, 11 Dec 2000 18:15:17 -0700 | From | Cort Dougan <> | Subject | Re: PATCH: linux-2.4.0-test12pre8/include/linux/module.h breaks sysklogd compilation |
| |
} User space applications _must_ not include kernel headers. Even } modutils does not include linux/module.h, it has its own portable } (kernels 2.0 - 2.4) version.
There are cases where a user-program _must_ include kernel headers. Some glibc versions have incorrect values for MCL_* and asm/mman.h has correct versions. If you want your mlock call to do anything, you need the kernel header. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |