diff -u -r ../elfutils-0.170/src/readelf.c ./src/readelf.c
--- ../elfutils-0.170/src/readelf.c	2017-08-02 14:06:25.000000000 +0200
+++ ./src/readelf.c	2017-12-10 01:14:25.898858528 +0100
@@ -43,6 +43,7 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <signal.h>
+#include <qsort_r.h>
 
 #include <libeu.h>
 #include <system.h>
