summaryrefslogtreecommitdiffstats
path: root/tests/get-lines.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/get-lines.c')
-rw-r--r--tests/get-lines.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/get-lines.c b/tests/get-lines.c
index 6a8c0764..f5c58db8 100644
--- a/tests/get-lines.c
+++ b/tests/get-lines.c
@@ -11,10 +11,14 @@
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 <inttypes.h>
#include <libelf.h>
-#include <libdw.h>
+#include ELFUTILS_HEADER(dw)
#include <stdio.h>
#include <unistd.h>