Don't forget to define __ELF_WORD_SIZE.

Without it, we only obtain the ELF types native to the system. In this
we explicitly want the 64-bit versions.
This commit is contained in:
ed 2016-08-21 15:37:49 +00:00
parent 656809e6f3
commit 934182e29a

View File

@ -29,6 +29,7 @@
#define _CLOUDABI64_UTIL_H_
#include <sys/types.h>
#define __ELF_WORD_SIZE 64
#include <sys/imgact_elf.h>
#include <contrib/cloudabi/cloudabi64_types.h>