summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-03-11 21:01:00 -0500
committerPhil Pennock <pdp@exim.org>2017-03-11 21:01:00 -0500
commit98913c8ea2be5188dd22ec652da1182017e8edb7 (patch)
tree692fc3dbb74c58ab6702eab76ee22e098b3f3b05 /src
parent1bb542d3c4811827dead52f364f94ff243db5d2a (diff)
uClibc does not contain gnu/libc-version.h
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index ee7bfcd22..fd08cc780 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -12,7 +12,7 @@ Also a few functions that don't naturally fit elsewhere. */
#include "exim.h"
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
# include <gnu/libc-version.h>
#endif
@@ -1044,7 +1044,7 @@ DEBUG(D_any) do {
fprintf(f, "Compiler: <unknown>\n");
#endif
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
fprintf(f, "Library version: Glibc: Compile: %d.%d\n",
__GLIBC__, __GLIBC_MINOR__);
if (__GLIBC_PREREQ(2, 1))