smb: include arpa/inet.h for NonStop

Reported-by: Randall S. Becker
URL: https://curl.se/mail/lib-2026-02/0010.html
Closes #20579
This commit is contained in:
Daniel Stenberg 2026-02-12 19:43:43 +01:00
parent 10bb489b22
commit 36dc50b7e3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -27,6 +27,10 @@
#if !defined(CURL_DISABLE_SMB) && defined(USE_CURL_NTLM_CORE)
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h> /* for htons() */
#endif
#include "smb.h"
#include "url.h"
#include "sendf.h"