fix libelf build
This commit is contained in:
parent
b4a91d430f
commit
9dd5dca1fa
|
@ -53,8 +53,9 @@
|
||||||
#endif /* USE_LOCKS */
|
#endif /* USE_LOCKS */
|
||||||
|
|
||||||
/* Compiler-specific definitions. */
|
/* Compiler-specific definitions. */
|
||||||
//#define strong_alias(name, aliasname) \
|
/*#define strong_alias(name, aliasname) \
|
||||||
// extern __typeof (name) aliasname __attribute__ ((alias (#name)));
|
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
|
||||||
|
*/
|
||||||
|
|
||||||
#define strong_alias(name, aliasname)
|
#define strong_alias(name, aliasname)
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include "portable_endian.h"
|
#include "portable_endian.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
# define LE32(n) le32toh (n)
|
# define LE32(n) le32toh (n)
|
||||||
# define LE64(n) le64toh (n)
|
# define LE64(n) le64toh (n)
|
||||||
|
|
Loading…
Reference in New Issue