• Ting-Wei Lan's avatar
    build: Define MAJOR_IN_TYPES when major is defined in sys/types.h · c61f01f0
    Ting-Wei Lan authored
    Autoconf macro AC_HEADER_MAJOR doesn't define a macro in config.h when
    major is defined in sys/types.h. This was not a problem because major
    is assumed to be always available. However, commit aefffa3f
    changes this assumption in order to fix build on systems without major,
    which causes code using major to be disabled on systems putting major
    in sys/types.h.
    
    This commit defines a new macro MAJOR_IN_TYPES for both autotools and
    meson builds to make major useful on these systems again.
    c61f01f0
gdbusmessage.c 105 KB