because printf.h needs wchar.h. So: - include wchar.h - while I'm here include stdlib.h (for the prototype of exit())