summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-27 15:07:53 +0000
committerRoland McGrath <roland@gnu.org>2000-03-27 15:07:53 +0000
commit9ee80c524952a001903b353051851f54b7550d82 (patch)
treefb959fd1fa78949c01e8eb64570193e607408f5b
parent45f52bde66d7a6038ea7bc0226bb3257f5e17dcc (diff)
downloadglibc-9ee80c524952a001903b353051851f54b7550d82.tar.gz
glibc-9ee80c524952a001903b353051851f54b7550d82.tar.xz
glibc-9ee80c524952a001903b353051851f54b7550d82.zip
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
	* include/shlib-compat.h: Conditionalize <abi-versions.h> include
	on [HAVE_ELF && DO_VERSIONING].
-rw-r--r--include/shlib-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index 7704f5289f..7f66cbead5 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 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 */
+#endif
 
 #if defined HAVE_ELF && defined PIC && defined DO_VERSIONING