Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
elfhints.c: include endian.h, copy from pkg_elf.c
Akihiko HAYASHI committed 2 years ago
commit e1e788d443a710684d84048dcee64ef809d5b195
parent 738850918f389053f4f3133047d3d6d576ca7c71
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>