Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/msdosfs/denode.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
* functioning of this software in any circumstances and is not liable for | * functioning of this software in any circumstances and is not liable for | ||||
* any damages caused by this software. | * any damages caused by this software. | ||||
* | * | ||||
* October 1992 | * October 1992 | ||||
*/ | */ | ||||
#ifndef _FS_MSDOSFS_DENODE_H_ | #ifndef _FS_MSDOSFS_DENODE_H_ | ||||
#define _FS_MSDOSFS_DENODE_H_ | #define _FS_MSDOSFS_DENODE_H_ | ||||
#ifdef _KERNEL | |||||
#include <sys/buf.h> | #include <sys/buf.h> | ||||
#endif | |||||
kib: May be, instead of _KERNEL check, add #include <sys/buf.h> to consumers in sys/fs/msdosfs that… | |||||
Done Inline ActionsSounds good, let me try that. arichardson: Sounds good, let me try that. | |||||
/* | /* | ||||
* This is the pc filesystem specific portion of the vnode structure. | * This is the pc filesystem specific portion of the vnode structure. | ||||
* | * | ||||
* To describe a file uniquely the de_dirclust, de_diroffset, and | * To describe a file uniquely the de_dirclust, de_diroffset, and | ||||
* de_StartCluster fields are used. | * de_StartCluster fields are used. | ||||
* | * | ||||
* de_dirclust contains the cluster number of the directory cluster | * de_dirclust contains the cluster number of the directory cluster | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |
May be, instead of _KERNEL check, add #include <sys/buf.h> to consumers in sys/fs/msdosfs that lack it? Then remove this include at all.