added scandir port for solaris
added scandir port for solaris

scriptzteam/pzs-ng,bioboy/pzs-ng,bioboy/pzs-ng,scriptzteam/pzs-ng,scriptzteam/pzs-ng,scriptzteam/pzs-ng,bioboy/pzs-ng,bioboy/pzs-ng,bioboy/pzs-ng,scriptzteam/pzs-ng