Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 11.99.2 build failures



    Date:        Sun, 14 Sep 2025 15:05:03 -0000 (UTC)
    From:        mlelstv%serpens.de@localhost (Michael van Elst)
    Message-ID:  <10a6liv$km7$1%serpens.de@localhost>

  | You probably need:
  |
  | #if defined(__APPLE__)
  | #include <machine/endian.h>
  | #endif

That could work, though as the relevant .h file defines static inline
functions which use le16dec() (etc) - it should always be including the
header (or a header) specified to declare those functions, not just
rely upon callers including something which happens to include the
declarations.

So, I would add

	#else
	#include <endian.h>

to the above (at the obvious place).

kre



Home | Main Index | Thread Index | Old Index