bmake - unknown types userptr_t, vaddr_t, unint32_t, bool, size_t, mode_t, etc

Basically my os161 broke and I’m trying to find the solution, the odd part is the errors are coming from files I didn’t even edit like copyinout.h, lib.h, etc. I do have types.h included in my syscall.c. I have no idea where to go about fixing these 100’s of errors, any help would be appreciated.

This may have to do with the order in which you include header files. Did you edit a C file and change the header loading order? C is fairly broken in this regard and getting things to work sometimes requires a bit of fiddling and reordering in your #includes.

I’ll try that, thanks!