diff options
Diffstat (limited to 'tdecore/network/kresolver_p.h')
-rw-r--r-- | tdecore/network/kresolver_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdecore/network/kresolver_p.h b/tdecore/network/kresolver_p.h index 7f74c6fe6..9cc139458 100644 --- a/tdecore/network/kresolver_p.h +++ b/tdecore/network/kresolver_p.h @@ -48,6 +48,7 @@ extern TQMutex getXXbyYYmutex; #endif /* some systems have the functions, but don't declare them */ +#ifndef __OpenBSD__ #if defined(HAVE_GETSERVBYNAME_R) && !HAVE_DECL_GETSERVBYNAME_R extern "C" { struct servent; @@ -69,6 +70,7 @@ extern "C" { struct protoent** result); } #endif +#endif /* decide whether res_init is thread-safe or not */ #if defined(__GLIBC__) |