Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
elfhints.c: include endian.h, copy from pkg_elf.c
Akihiko HAYASHI committed 2 years ago
commit e1e788d443a710684d84048dcee64ef809d5b195
parent 7388509
1 file changed +7 -0
modified libpkg/elfhints.c
@@ -30,6 +30,13 @@
#include <bsd_compat.h>
#include <sys/mman.h>
#include <sys/stat.h>
+
#ifdef HAVE_SYS_ENDIAN_H
+
#include <sys/endian.h>
+
#elif HAVE_ENDIAN_H
+
#include <endian.h>
+
#elif HAVE_MACHINE_ENDIAN_H
+
#include <machine/endian.h>
+
#endif

#include <assert.h>
#include <ctype.h>