[Midnightbsd-cvs] [MidnightBSD/src] 2e4d3e: ck: recognize _KERNEL on Linux cross-builds

Lucas Holt noreply at github.com
Wed Apr 22 11:36:39 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 2e4d3e6ca178327857ef8c0a408c6a74b770b77c
      https://github.com/MidnightBSD/src/commit/2e4d3e6ca178327857ef8c0a408c6a74b770b77c
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

  Changed paths:
    M sys/contrib/ck/include/ck_limits.h
    M sys/contrib/ck/include/ck_stdint.h

  Log Message:
  -----------
  ck: recognize _KERNEL on Linux cross-builds

Use the Linux kernel header path when either __KERNEL__ or _KERNEL is defined so Ubuntu-based cross-builds do not fall back to missing hosted headers like limits.h and stdint.h.

AI-Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list