--- elfutils-0.176/libelf/elf32_updatefile.c.orig	2019-02-15 10:46:47.000000000 -0500
+++ elfutils-0.176/libelf/elf32_updatefile.c	2019-03-01 10:01:21.634032701 -0500
@@ -45,6 +45,13 @@
 # define LIBELFBITS 32
 #endif
 
+#ifndef __USE_ISOC11
+/* aligned_alloc() is just memalign() with more checking, so if we don't have
+ * ISO C11, just fall back to it.
+ */
+#define aligned_alloc memalign
+#endif
+
 
 static int
 compare_sections (const void *a, const void *b)
