summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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;