summaryrefslogtreecommitdiff
path: root/include/shlib-compat.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-27 01:09:18 +0000
committerRoland McGrath <roland@gnu.org>2000-03-27 01:09:18 +0000
commit9aae89cedc69263b44258519ed64c5b0b411e84a (patch)
tree4d2cd123b44b2b47baddd781daabf274ab37c60a /include/shlib-compat.h
parent4c63ebaa79ad9fdbaf49fa69f94e87ef69b5e3be (diff)
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h: Include <abi-versions.h> unconditionally.
Diffstat (limited to 'include/shlib-compat.h')
-rw-r--r--include/shlib-compat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index f0673e7096..7704f5289f 100644
--- a/include/shlib-compat.h
+++ b/include/shlib-compat.h
@@ -20,9 +20,11 @@
#ifndef _SHLIB_COMPAT_H
#define _SHLIB_COMPAT_H 1
-#if defined HAVE_ELF && defined PIC && defined DO_VERSIONING
+/* Since there is just one set of .d files generated, we need to
+ include this unconditionally to have the dependency noticed properly. */
+#include <abi-versions.h> /* header generated by abi-versions.awk */
-# include <abi-versions.h> /* header generated by abi-versions.awk */
+#if defined HAVE_ELF && defined PIC && defined DO_VERSIONING
/* The file abi-versions.h (generated by scripts/abi-versions.awk) defines
symbols like `ABI_libm_GLIBC_2_0' for each version set in the source