diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-13 13:48:18 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-14 08:38:43 +0100 |
commit | 28177def43b71e91db0a9aaf138bf3c388893116 (patch) | |
tree | 7aec88df135b468f5aa1082e5aee223028f2c86a /lib/urldata.h | |
parent | d957b61db385d4fa347cda58c9443f56053f744d (diff) | |
download | curl-28177def43b71e91db0a9aaf138bf3c388893116.tar.gz |
gssapi: fix deprecated header warnings
Heimdal includes on FreeBSD spewed out lots of them. Less so now.
Closes #3566
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index e137569ac..b194fde23 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -129,12 +129,14 @@ typedef ssize_t (Curl_recv)(struct connectdata *conn, /* connection data */ #ifdef HAVE_GSSAPI # ifdef HAVE_GSSGNU # include <gss.h> -# elif defined HAVE_GSSMIT +# elif defined HAVE_GSSAPI_GSSAPI_H # include <gssapi/gssapi.h> -# include <gssapi/gssapi_generic.h> # else # include <gssapi.h> # endif +# ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H +# include <gssapi/gssapi_generic.h> +# endif #endif #ifdef HAVE_LIBSSH2_H |