Menu

#12 Do not guard sys/quota.h sys/swap.h and sys/reboot.h with __GLIBC__

Unstable (example)
accepted
nobody
None
5
2023-03-16
2022-08-24
Khem Raj
No

We have these headers on other libc implementations as well, therefore there is no need to conditionally include them with GLIBC define. This helps fixing the build with musl where the reboot() funciton declaration is in sys/reboot.h but its not included due to this conditional inclusion.

1 Attachments

Discussion

  • Paul Crawford

    Paul Crawford - 2023-03-16

    Now applied

     
  • Paul Crawford

    Paul Crawford - 2023-03-16
    • status: open --> accepted
     

Log in to post a comment.