diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-02-06 17:00:16 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-02-06 17:00:16 +0000 |
| commit | 55d06098bbcfff66e9f06fe3a38093aab6a70ee8 (patch) | |
| tree | 9584671aa59eb52be648cd7eca0a0e3105d2ef55 /src | |
| parent | d59224a9113ae0745bccbd3b5be5ff8abaad9a7e (diff) | |
| download | qxmpp-55d06098bbcfff66e9f06fe3a38093aab6a70ee8.tar.gz | |
Fix build on FreeBSD (fixes: #132)
Diffstat (limited to 'src')
| -rw-r--r-- | src/qdnslookup_unix.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qdnslookup_unix.cpp b/src/qdnslookup_unix.cpp index 00727fe8..f4d1c64c 100644 --- a/src/qdnslookup_unix.cpp +++ b/src/qdnslookup_unix.cpp @@ -47,11 +47,9 @@ #include <QUrl> #include <sys/types.h> -#include <netdb.h> -#if defined(Q_OS_MAC) +#include <netinet/in.h> #include <arpa/nameser.h> #include <arpa/nameser_compat.h> -#endif #include <resolv.h> QT_BEGIN_NAMESPACE |
