summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2014-01-23 12:16:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-23 15:31:09 +0100
commit7c65b1f6463f65931a77d760662deab63fcecb78 (patch)
tree64fd61f73e6fca3216427191719a3381f0c9a02e
parent6c017d0a2b3930ef87d4fb5c533c8d9c8f7bb15c (diff)
downloadqtbase-7c65b1f6463f65931a77d760662deab63fcecb78.tar.gz
qtbase-7c65b1f6463f65931a77d760662deab63fcecb78.tar.bz2
qtbase-7c65b1f6463f65931a77d760662deab63fcecb78.zip
Don't include <gnu/lib-names.h> when compiling with uClibc
Change-Id: I5264280b7ce1e94eaf410a070f9670984f7a655b Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
-rw-r--r--src/network/kernel/qdnslookup_unix.cpp2
-rw-r--r--src/network/kernel/qhostinfo_unix.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp
index 052c492f07..9fb488cee6 100644
--- a/src/network/kernel/qdnslookup_unix.cpp
+++ b/src/network/kernel/qdnslookup_unix.cpp
@@ -52,7 +52,7 @@
#include <arpa/nameser_compat.h>
#include <resolv.h>
-#ifdef __GNU_LIBRARY__
+#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__)
# include <gnu/lib-names.h>
#endif
diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp
index dc2702b552..32b7318335 100644
--- a/src/network/kernel/qhostinfo_unix.cpp
+++ b/src/network/kernel/qhostinfo_unix.cpp
@@ -63,7 +63,7 @@
# include <resolv.h>
#endif
-#ifdef __GNU_LIBRARY__
+#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__)
# include <gnu/lib-names.h>
#endif