Skip to content

Fix build for kernels >= 5.16, where stddef.h is not available#31

Open
hjmallon wants to merge 1 commit intoaja-video:mainfrom
hjmallon:_hm_build_on_c9
Open

Fix build for kernels >= 5.16, where stddef.h is not available#31
hjmallon wants to merge 1 commit intoaja-video:mainfrom
hjmallon:_hm_build_on_c9

Conversation

@hjmallon
Copy link
Contributor

  • I am testing in CentOS9 5.14.0-165.el9
  • This commit removes the default gcc includes from the kernel
    buildsystem: 04e85bbf71c9072dcf0ad9a7150495d72461105c

torvalds/linux@04e85bb

Build error was

In file included from /code/ajadriver/linux/ntv2devicefeatures.c:12:
/code/ajalibraries/ajantv2/includes/ntv2devicefeatures.h:13:18: fatal error: stddef.h: No such file or directory
   13 |         #include <stddef.h>             // For size_t
      |                  ^~~~~~~~~~
compilation terminated.

* I am testing in CentOS9 5.14.0-165.el9
* This commit removes the default gcc includes from the kernel
  buildsystem: 04e85bbf71c9072dcf0ad9a7150495d72461105c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant