Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: basesrc
Modified Files:
basesrc/usr.bin/fstat: fstat.c
Log Message:
Define "_LKM" before including kernel includes with "_KERNEL" defined
so that "opt_ffs.h" gets skipped.
hmm. i was discussing this with dean last night, and he came up with
idea also but neither of us liked it. i think this change is wrong.
it seems that we need some new preprocessor symbol to deal with this,
such as `_KERNEL_FROM_USERLAND' which basically means to not include
opt_xxx.h files, and any userland code that wants to #define _KERNEL
must also define this. the above is a hack and should die.
comments?
Home |
Main Index |
Thread Index |
Old Index