main() certainly is NOT those headers, and if your missing it, something is rotten with your source-code.
I've just located a copy of the MUI3.8SDK on my hard-disk (sometimes being a messy pays ......), and the examples seem to only include when compiled with GNU and otherwise. Could you try some of those ?