fix building with ngx_http_perl_module
diff --git a/src/os/unix/ngx_solaris_config.h b/src/os/unix/ngx_solaris_config.h
index 666e5ea..9183bb3 100644
--- a/src/os/unix/ngx_solaris_config.h
+++ b/src/os/unix/ngx_solaris_config.h
@@ -8,7 +8,9 @@
 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
 
 
+#ifndef _REENTRANT
 #define _REENTRANT
+#endif
 
 #define _FILE_OFFSET_BITS  64   /* must be before <sys/types.h> */