Use ANSI C typeof defination
Add locale.h to include