@@ -368,6 +368,7 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
368
368
369
369
# include < __assert>
370
370
# include < __chrono/duration.h>
371
+ # include < __chrono/steady_clock.h>
371
372
# include < __chrono/time_point.h>
372
373
# include < __condition_variable/condition_variable.h>
373
374
# include < __exception/exception_ptr.h>
@@ -381,6 +382,9 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
381
382
# include < __memory/shared_count.h>
382
383
# include < __memory/unique_ptr.h>
383
384
# include < __memory/uses_allocator.h>
385
+ # include < __mutex/lock_guard.h>
386
+ # include < __mutex/mutex.h>
387
+ # include < __mutex/unique_lock.h>
384
388
# include < __system_error/error_category.h>
385
389
# include < __system_error/error_code.h>
386
390
# include < __system_error/error_condition.h>
@@ -390,14 +394,19 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
390
394
# include < __type_traits/conditional.h>
391
395
# include < __type_traits/decay.h>
392
396
# include < __type_traits/enable_if.h>
397
+ # include < __type_traits/invoke.h>
398
+ # include < __type_traits/is_same.h>
399
+ # include < __type_traits/remove_cvref.h>
400
+ # include < __type_traits/remove_reference.h>
393
401
# include < __type_traits/strip_signature.h>
394
402
# include < __type_traits/underlying_type.h>
395
403
# include < __utility/auto_cast.h>
396
404
# include < __utility/forward.h>
397
405
# include < __utility/move.h>
398
- # include < mutex >
406
+ # include < __utility/swap.h >
399
407
# include < new>
400
408
# include < stdexcept>
409
+ # include < tuple>
401
410
# include < version>
402
411
403
412
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0 commit comments