Codeblocks is just an IDE. Your compiler will have to have it. If you're using mingw, you have to manually download the headers and place it in the Mingw include folder (at least on Windows). On Linux this isn't necessary. :)
Not sure about compiling for 3DS tbh, but yeah, the headers are from...