warning: embedding a directive within macro arguments has undefined
behavior [-Wembedded-directive]
wts.c:97:15: error: assignment discards 'const' qualifier from pointer
target type [-Werror]
Oracle Solaris fixes
Merge pull request #1329 from markbenvenuto/solaris_fix

Oracle Solaris fixes