[Intel-gfx] [PATCH i-g-t] pull in headers for major/minor/makedev funcs

2018-01-09 Thread Mike Frysinger
Use the portable autoconf helper to figure out which header to include for these funcs. Linux C libs are moving to not implicitly include them via sys/types.h anymore, and other OS's have long required you to pull in the right header directly. Bugzilla:

[Intel-gfx] [PATCH i-g-t] pull in headers for major/minor/makedev funcs

2016-06-22 Thread Mike Frysinger
Use the portable autoconf helper to figure out which header to include for these funcs. Linux C libs are moving to not implicitly include them via sys/types.h anymore, and other OS's have long required you to pull in the right header directly. Bugzilla: