diff options
author | phk <phk@FreeBSD.org> | 2002-10-15 21:35:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-15 21:35:01 +0000 |
commit | b7ae862a6d4958d75e92bbf27b59eef5eb7ed3d1 (patch) | |
tree | 65ae260a53d098c1e0379e3850a34b113353f1a7 /lib/libc | |
parent | 45684fd1854bac5defd1158981c98a6fe22fb5a7 (diff) | |
download | FreeBSD-src-b7ae862a6d4958d75e92bbf27b59eef5eb7ed3d1.zip FreeBSD-src-b7ae862a6d4958d75e92bbf27b59eef5eb7ed3d1.tar.gz |
Include "opt_kbd.h" since certain structures size depend on the value
of KBDIO_DEBUG which may be defined in the kernel config (as it is in NOTES).
This kind of bug is a _really_ horribly thing as we end up with one bit
of code thinking a particular structure is 136 bytes and another that it
is only 112 bytes.
Ideally all places would remember to #include the right "opt_foo.h" file,
but I think in practice file containing the variable sized struct should
#include it explicitly as a precaution.
Detected by: FlexeLint
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions