--- ./source3/include/libsmbclient.h.orig	2018-07-12 03:23:36.000000000 -0500
+++ ./source3/include/libsmbclient.h	2019-02-06 14:36:16.499779599 -0600
@@ -79,6 +79,7 @@
 #include <stdint.h>
 #include <fcntl.h>
 #include <utime.h>
+#include <time.h>
 
 #define SMBC_BASE_FD        10000 /* smallest file descriptor returned */