w3_defs.h: Ensure that endian.h or stdint.h is included before using uint* (#304)

This is an addendum to my previous patch as it missed to ensure inclusion of
some header that provides uint*. It worked for me only because of local flags
to add this include
opam-2.0.0
Vladimir Serbinenko 2 years ago committed by GitHub
parent 0009146177
commit c101549795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -233,6 +233,8 @@
# else
# ifdef __linux__
# include <endian.h>
# else
# include <stdint.h>
# endif
# if defined(__bswap_16)
# define m3_bswap16(x) __bswap_16((x))

Loading…
Cancel
Save