Skip to content

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: bf13fe0f ("s3: libsmbclient: Add internal/external structures needed for readdirplus.") Signed-off-by: Aurelien Aptel aaptel@suse.com

Merge request reports