r3508: fix the build
authorStefan Metzmacher <metze@samba.org>
Wed, 3 Nov 2004 13:26:58 +0000 (13:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:23 +0000 (13:05 -0500)
(tridge: please don't forget this file next time :-)

metze
(This used to be commit 5fec93013ea1ab237ee70feb9923d0913bf951c5)

source4/smbd/process_thread.c

index 38f82b82f8a400aa0c1a511e987be6bf950b44e2..da3af9202aa2a7370fcf5fb20b2a6b9d9b1fcc36 100644 (file)
 */
 
 #include "includes.h"
+#include "events.h"
 #include "dlinklist.h"
 #include "smb_server/smb_server.h"
 #include "process_model.h"
+#include "include/system/wait.h"
 #include "pthread.h"
 #ifdef HAVE_BACKTRACE
 #include "execinfo.h"
@@ -50,7 +52,7 @@ static int thread_get_id(struct smbsrv_request *req)
   called when a listening socket becomes readable
 */
 static void thread_accept_connection(struct event_context *ev, struct fd_event *srv_fde, 
-                             time_t t, uint16_t flags)
+                             struct timeval t, uint16_t flags)
 {              
        NTSTATUS status;
        struct socket_context *sock;