← Commit list

2a63957204

Randall S. Becker
Randall S. Becker
2026-06-01
SUCCESS Duration: 242s

Subject

capsule: include `arpa/inet.h` for `ntohs()` declaration

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/capsule.c+4 -0
@@ -26,6 +26,10 @@
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h> /* for htons() */
+#endif
+
#include <curl/curl.h>
#include "urldata.h"
#include "curlx/dynbuf.h"