[1593-sun] Fix errors on Sun build
Sunstudio could not find memset() in cstring; changed the include to that of "string.h". Also it complained of an anachronism in using "extern int close()" as a default argument. Removed these.
Showing with 6 additions and 8 deletions