summaryrefslogtreecommitdiff
path: root/source4/smbd/process_thread.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-03 13:26:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:23 -0500
commit6305528505c6a978ecae41589d50c0d76542fbf5 (patch)
treeaab3c194bf5cdda1689f634e97b592d604af7360 /source4/smbd/process_thread.c
parentdde07058075d357cfdc63624c8dcaa67ebd40add (diff)
downloadsamba-6305528505c6a978ecae41589d50c0d76542fbf5.tar.gz
samba-6305528505c6a978ecae41589d50c0d76542fbf5.tar.bz2
samba-6305528505c6a978ecae41589d50c0d76542fbf5.zip
r3508: fix the build
(tridge: please don't forget this file next time :-) metze (This used to be commit 5fec93013ea1ab237ee70feb9923d0913bf951c5)
Diffstat (limited to 'source4/smbd/process_thread.c')
-rw-r--r--source4/smbd/process_thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/smbd/process_thread.c b/source4/smbd/process_thread.c
index 38f82b82f8..da3af9202a 100644
--- a/source4/smbd/process_thread.c
+++ b/source4/smbd/process_thread.c
@@ -21,9 +21,11 @@
*/
#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;