open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
17 stars 39 forks source link

src/thread.c: include endian.h #43

Closed ffontaine closed 5 years ago

ffontaine commented 5 years ago

endian.h is needed for be64oh otherwise build with musl fails on:

src/thread.c: In function 'flip_endian': src/thread.c:49:9: error: implicit declaration of function 'be64toh' [-Werror=implicit-function-declaration] return be64toh(v);

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

apopple commented 5 years ago

Thanks for the fix!