• Daniel Kahn Gillmor's avatar
    handle htobe32 et al. on glibc systems with a non-Linux kernel · 27b61361
    Daniel Kahn Gillmor authored
    This fix copies over an updated #if clause from libknot's
    This should resolve:
    See also discussion about this same problem in libknot from a couple
    years ago:
    I note that contrib/wire.h in knot-resolver is out of sync with
    src/contrib/wire.h (and src/contrib/endian.h) from libknot.  I don't
    know whether there's any upstream preference for keeping these in sync
    in some more reliable way than manual comparisons.  For now i'm just
    providing a narrow fix for the specific problem.
wire.h 4.57 KB