Author: ed
Date: Sun Aug 21 15:37:49 2016
New Revision: 304559
URL: https://svnweb.freebsd.org/changeset/base/304559

Log:
  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.

Modified:
  head/sys/compat/cloudabi64/cloudabi64_util.h

Modified: head/sys/compat/cloudabi64/cloudabi64_util.h
==============================================================================
--- head/sys/compat/cloudabi64/cloudabi64_util.h        Sun Aug 21 15:36:18 
2016        (r304558)
+++ head/sys/compat/cloudabi64/cloudabi64_util.h        Sun Aug 21 15:37:49 
2016        (r304559)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to