← Commit list

8aafb2adb2

Daniel Stenberg
Daniel Stenberg
2026-09-23
SUCCESS Duration: 434s

Subject

libtest/lib464.c: provide INADDR_LOOPBACK if not present

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 →

tests/libtest/lib464.c+4 -0
@@ -59,6 +59,10 @@ static int t464_resolver_start_cb(void *resolver_state, void *reserved,
return 0;
}
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK 0x7f000001
+#endif
+
static CURLcode test_lib464(const char *URL)
{
CURL *curl = NULL;