mit-pdos / xv6-riscv

Xv6 for RISC-V
Other
6.58k stars 2.38k forks source link

fix(kernel/stat): include types before use #163

Closed Pcrab closed 1 year ago

Pcrab commented 1 year ago

Some foratter may change the order of include files.

We used to have to include "kernel/types.h" first, or compiler will complain "unknown type uint" if we try to include "kernel/stat.h".