'prog_char' does not name a type error

I would guess the file "pgmspace.h" defines "prog_char" which isn't a data type that Arduino knows about.

Do you have access to that file to include it?