summaryrefslogtreecommitdiff
path: root/src/objdump.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2016-10-11 23:06:48 +0900
committerMark Wielaard <mjw@redhat.com>2016-10-12 15:43:14 +0200
commit60b2bf1b08c621492410b24e469b2bdf58d167d5 (patch)
tree9a9f16d5a686b42469c190a7d3b0bd245344dc48 /src/objdump.c
parent7bf4b63a4980788e6c1969cae02f0483e79c069f (diff)
downloadelfutils-60b2bf1b08c621492410b24e469b2bdf58d167d5.tar.gz
lib: Provide MAX and MIN in system.h
This change also creates a new header file libeu.h to provide the prototypes for the function of libeu. That hides the definition of function crc32, which can conflict with zlib, from libelf. It also prevents mistakes to refer those functions from a component which doesn't link with libeu, such as libelf. Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Diffstat (limited to 'src/objdump.c')
-rw-r--r--src/objdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objdump.c b/src/objdump.c
index 0aa41e89..1afcd573 100644
--- a/src/objdump.c
+++ b/src/objdump.c
@@ -32,8 +32,8 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
+#include <libeu.h>
#include <system.h>
#include "../libebl/libeblP.h"