aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 1218377b7..701b6eada 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -48,7 +48,7 @@
#define _MPRINTF_REPLACE /* use the internal *printf() functions */
#include <curl/mprintf.h>
-#ifdef KRB4
+#ifdef HAVE_KRB4
#include "security.h"
#endif
#include <string.h>
@@ -278,12 +278,12 @@ CURLcode Curl_write(struct connectdata *conn,
#else
(void)conn;
#endif
-#ifdef KRB4
+#ifdef HAVE_KRB4
if(conn->sec_complete) {
bytes_written = Curl_sec_write(conn, sockfd, mem, len);
}
else
-#endif /* KRB4 */
+#endif /* HAVE_KRB4 */
{
bytes_written = swrite(sockfd, mem, len);
}
@@ -412,7 +412,7 @@ int Curl_read(struct connectdata *conn,
(void)conn;
#endif
*n=0; /* reset amount to zero */
-#ifdef KRB4
+#ifdef HAVE_KRB4
if(conn->sec_complete)
nread = Curl_sec_read(conn, sockfd, buf, buffersize);
else