fix freeciv-client on SunOS by using c99