Solaris 10 and newer already have lrint/lrintf calls
VLC 1.0.1 In modules/gui/skins2/controls/ctrl_tree.cpp, a macro on lines 39-41 includes solaris_specific.h to get lrint, however lrint is only needed for Solaris 9 and older as noted here: http://mailman.videolan.org/pipermail/vlc-devel/2006-September/026040.html. The duplicate function declaration causes errors at compile-time. Removing the include fixing the problem.
This include also exists at modules/gui/skins2/controls/ctrl_list.cpp lines 38-40.