ICU-8892 merge into 4.8.x r33212 for ICU-9912 fix default timezone detection on Solaris 

X-SVN-Rev: 33213
diff --git a/source/common/putil.c b/source/common/putil.c
index 72421ed..32e0e89 100644
--- a/source/common/putil.c
+++ b/source/common/putil.c
@@ -105,12 +105,13 @@
 #elif defined(U_DARWIN) || defined(U_LINUX) || defined(U_BSD) || defined(U_SOLARIS)
 #   include <limits.h>
 #   include <unistd.h>
+#   if defined(U_SOLARIS)
+#       ifndef _XPG4_2
+#           define _XPG4_2
+#       endif
+#   endif
 #elif defined(U_QNX)
 #   include <sys/neutrino.h>
-#elif defined(U_SOLARIS)
-#   ifndef _XPG4_2
-#       define _XPG4_2
-#   endif
 #endif
 
 #if (defined(U_CYGWIN) || defined(U_MINGW)) && defined(__STRICT_ANSI__)