]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Include endian.h when handling BYTE_ORDER
authorUlf Hermann <ulf.hermann@qt.io>
Thu, 20 Apr 2017 15:07:37 +0000 (17:07 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 26 Apr 2017 15:19:21 +0000 (17:19 +0200)
BYTE_ORDER and friends are customarily defined in endian.h.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
libdw/ChangeLog
libdw/dwarf_begin_elf.c

index 3f63a174a1238812795cc51186490a609a65302d..19bcc9bb178be67c9cd80af0c5bf710a7cc6ab83 100644 (file)
@@ -1,3 +1,7 @@
+2017-04-20  Ulf Hermann  <ulf.hermann@qt.io>
+
+       * dwarf_begin_elf.c: Include endian.h.
+
 2017-03-30  Mark Wielaard  <mjw@redhat.com>
 
        * dwarf_peel_type.c (dwarf_peel_type): Call dwarf_attr_integrate on
index 6f25e4297df277c98e477bb632cbef579b3bada0..afa15cef009a3e1389ae8999fc4eebe87711c083 100644 (file)
@@ -41,6 +41,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <endian.h>
 
 #include "libdwP.h"