How to get kernel headers?

I need to compile drivers for an external wifi adapter but the process requires kernel headers, I don’t see them listed in apt-cache search. I’m using the stock SD card image that I received with my uconsole recently.

I’d use one of rex’s updated images, afaik those do have kernel headers available and they’re actually maintained unlike the official image that doesn’t get updated for years, and used to break when you updated it