Hi,

While trivfs.h doesn't use any definitions from fcntl.h itself,
trivfs_allow_open takes values like O_READ, which are defined in fcntl.h
-- so a program including trivfs.h will generally need these definitions
as well. Thus I wonder whether trivfs.h shouldn't just include fcntl.h,
so they are always available?

(Admittedly, this logic is not generally applied to libc headers
either...)

-antrik-


Reply via email to