summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/setup-os400.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/setup-os400.h')
-rw-r--r--libs/libcurl/src/setup-os400.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/libcurl/src/setup-os400.h b/libs/libcurl/src/setup-os400.h
index d3f98daaf5..e506b93d89 100644
--- a/libs/libcurl/src/setup-os400.h
+++ b/libs/libcurl/src/setup-os400.h
@@ -46,6 +46,8 @@ typedef unsigned long u_int32_t;
#include <qsoasync.h>
#include <gssapi.h>
+#ifdef BUILDING_LIBCURL
+
extern int Curl_getaddrinfo_a(const char *nodename,
const char *servname,
const struct addrinfo *hints,
@@ -141,4 +143,6 @@ extern int Curl_os400_getsockname(int sd, struct sockaddr *addr, int *addrlen);
#define inflateEnd Curl_os400_inflateEnd
#endif
+#endif /* BUILDING_LIBCURL */
+
#endif /* HEADER_CURL_SETUP_OS400_H */