Added restrict for Solaris