[all-commits] [llvm/llvm-project] 29dec3: [libc] NFC: Fix build on systems that don't have l...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Thu Aug 3 06:30:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29dec352124a5fc1dcf03a640c2621496651ee90
      https://github.com/llvm/llvm-project/commit/29dec352124a5fc1dcf03a640c2621496651ee90
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M libc/src/sched/linux/sched_rr_get_interval.cpp

  Log Message:
  -----------
  [libc] NFC: Fix build on systems that don't have linux/time_types.h

This broke some bots that don't have linux/time_types.h available
(libc-x86_64-debian-*).

The header is needed because of __kernel_timespec, and since this is
only needed when SYS_sched_rr_get_interval_time64 is available, guarding
the include should fix the broken bot.




More information about the All-commits mailing list