I also have the “lite” version of CodeSourcery onboard which the IAR seems to be using for compilation. I don’t know why it grabbed this, and it might not be operative on your system but if you can locate it via the following fragment…
\ARM\inc
then perhaps you’ve found out how IAR compiles its examples?
When I inserted the appropriate TI header file into the \ARM\inc subdirectory of the CodeSourcery lite the example compiled cleanly.
Now to get it to recognize my JTAG wiggler and from there to make my Codesourcery IDE recognize the wiggler and from there to make it talk nice to my Olimex Cortex M3. Hey, if it was simple everyone would be going it…