Re: [PATCH v3] build: Use AC_HEADER_MAJOR to find device macros

2016-04-23 Thread Andrei Borzenkov
19.04.2016 21:27, Mike Gilbert пишет: > Depending on the OS/libc, device macros are defined in different > headers. This change ensures we include the right one. > > sys/types.h - BSD > sys/mkdev.h - Sun > sys/sysmacros.h - glibc (Linux) > > glibc currently pulls sys/sysmacros.h into sys/types.h,

[PATCH v3] build: Use AC_HEADER_MAJOR to find device macros

2016-04-19 Thread Mike Gilbert
Depending on the OS/libc, device macros are defined in different headers. This change ensures we include the right one. sys/types.h - BSD sys/mkdev.h - Sun sys/sysmacros.h - glibc (Linux) glibc currently pulls sys/sysmacros.h into sys/types.h, but this may change in a future release. https://sou