nginx-0.0.1-2002-09-12-18:42:29 import
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h
index f3fffd6..2a602d2 100644
--- a/src/os/unix/ngx_socket.h
+++ b/src/os/unix/ngx_socket.h
@@ -4,6 +4,7 @@
 
 #include <ngx_config.h>
 
+#define NGX_WRITE_SHUTDOWN SHUT_WR
 
 typedef int  ngx_socket_t;
 
@@ -15,6 +16,9 @@
 #define ngx_nonblocking(s)  fcntl(s, F_SETFL, O_NONBLOCK)
 #define ngx_nonblocking_n   "fcntl(O_NONBLOCK)"
 
+#define ngx_shutdown_socket    shutdown
+#define ngx_shutdown_socket_n  "shutdown()"
+
 #define ngx_close_socket    close
 #define ngx_close_socket_n  "close()"
 
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index 42bb716..5da536a 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -22,5 +22,8 @@
 
 ngx_msec_t ngx_msec(void);
 
+/* STUB */
+#define ngx_time()  time(NULL)
+
 
 #endif /* _NGX_TIME_H_INCLUDED_ */