From: Aurelien Aptel Date: Fri, 13 Mar 2020 12:42:53 +0000 (+0100) Subject: s3: libsmbclient.h: add missing time.h include X-Git-Tag: ldb-2.2.0~1273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1114b02a72ce0c86a5301816560d270ec47f8be3;p=thirdparty%2Fsamba.git s3: libsmbclient.h: add missing time.h include A recent change added a struct with timespec members in the public libsmbclient header. This type is defined in time.h which was not included thus making users of libsmbclient not build properly. /.../libsmbclient.h:158:18: error: field 'btime_ts' has incomplete type struct timespec btime_ts; Fixes: bf13fe0f222 ("s3: libsmbclient: Add internal/external structures needed for readdirplus.") Signed-off-by: Aurelien Aptel Reviewed-by: Noel Power Autobuild-User(master): Noel Power Autobuild-Date(master): Mon Mar 23 20:47:44 UTC 2020 on sn-devel-184 --- diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index 5846550eb29..c47e7c2a872 100644 --- a/source3/include/libsmbclient.h +++ b/source3/include/libsmbclient.h @@ -78,6 +78,7 @@ extern "C" { #include #include #include +#include #include #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */