summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-07-16 19:31:52 +0200
committerMark Wielaard <mjw@redhat.com>2009-07-16 19:31:52 +0200
commita6726c856737ff8451836939d56ca31311b54b6e (patch)
treed28f849391171671a1e602d3975b0a1f0fdf6790
parentf190c8d7aab46fbd15e33493cec7933c93d3c912 (diff)
downloadsystemtap-steved-a6726c856737ff8451836939d56ca31311b54b6e.tar.gz
systemtap-steved-a6726c856737ff8451836939d56ca31311b54b6e.tar.xz
systemtap-steved-a6726c856737ff8451836939d56ca31311b54b6e.zip
Include elfutils/version.h in loc2c-test.
* loc2c-test.c: Include elfutils/version.h when available.
-rw-r--r--loc2c-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/loc2c-test.c b/loc2c-test.c
index 0c992c76..7bfa6938 100644
--- a/loc2c-test.c
+++ b/loc2c-test.c
@@ -12,6 +12,9 @@
#include <locale.h>
#include <argp.h>
#include <elfutils/libdwfl.h>
+#ifdef HAVE_ELFUTILS_VERSION_H
+#include <elfutils/version.h>
+#endif
#include <dwarf.h>
#include <obstack.h>
#include <unistd.h>