fix libelf build

This commit is contained in:
Wolfgang Thaller 2023-12-17 19:04:47 +01:00
parent b4a91d430f
commit 9dd5dca1fa
2 changed files with 4 additions and 2 deletions

View File

@ -53,8 +53,9 @@
#endif /* USE_LOCKS */
/* Compiler-specific definitions. */
//#define strong_alias(name, aliasname) \
// extern __typeof (name) aliasname __attribute__ ((alias (#name)));
/*#define strong_alias(name, aliasname) \
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
*/
#define strong_alias(name, aliasname)

View File

@ -35,6 +35,7 @@
#include <sys/param.h>
#include "portable_endian.h"
#include <unistd.h>
#include <string.h>
# define LE32(n) le32toh (n)
# define LE64(n) le64toh (n)