--- common/_elftc.h.orig	2015-08-31 14:53:08.000000000 -0500
+++ common/_elftc.h	2021-07-02 09:05:24.000000000 -0500
@@ -374,6 +374,7 @@
 
 #include <libkern/OSByteOrder.h>
 #define	htobe32(x)	OSSwapHostToBigInt32(x)
+#define	htole32(x)	OSSwapHostToLittleInt32(x)
 #define	roundup2	roundup
 
 #define	ELFTC_BYTE_ORDER			_BYTE_ORDER
