summaryrefslogtreecommitdiff
path: root/tests/get-aranges.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/get-aranges.c')
-rw-r--r--tests/get-aranges.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/get-aranges.c b/tests/get-aranges.c
index 1be76b2d..705646c3 100644
--- a/tests/get-aranges.c
+++ b/tests/get-aranges.c
@@ -11,9 +11,13 @@
by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
3001 King Ranch Road, Ukiah, CA 95482. */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <fcntl.h>
#include <libelf.h>
-#include <libdw.h>
+#include ELFUTILS_HEADER(dw)
#include <stdio.h>
#include <unistd.h>