summaryrefslogtreecommitdiff
path: root/lib/krb5.c
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2022-10-27 10:04:55 -0500
committerJay Satiro <raysatiro@yahoo.com>2022-10-27 16:57:53 -0400
commitfc8d6b2370bdbf1c4002c4aecb856a0b4f419b62 (patch)
treee76b545cca7c33d441e9ef9ca9c842090d84bf3f /lib/krb5.c
parent1e5228533534ece2e1475a9d05ad86c479ad6c94 (diff)
downloadcurl-fc8d6b2370bdbf1c4002c4aecb856a0b4f419b62.tar.gz
build: fix for NonStop
- Include arpa/inet.h in all units where htonl is called. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Closes https://github.com/curl/curl/pull/9816
Diffstat (limited to 'lib/krb5.c')
-rw-r--r--lib/krb5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/krb5.c b/lib/krb5.c
index 517491c46..07d21903d 100644
--- a/lib/krb5.c
+++ b/lib/krb5.c
@@ -41,6 +41,9 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#include "urldata.h"
#include "curl_base64.h"