From 146ca95fbbc0af0f4697d1ae88d3c4015fe81973 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Wed, 8 May 2024 13:26:10 +0100 Subject: [PATCH] Support compiling against Musl libc --- Sources/HTTPTypes/HTTPFields.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/HTTPTypes/HTTPFields.swift b/Sources/HTTPTypes/HTTPFields.swift index ffda625..147a3fb 100644 --- a/Sources/HTTPTypes/HTTPFields.swift +++ b/Sources/HTTPTypes/HTTPFields.swift @@ -16,6 +16,8 @@ import os.lock #elseif canImport(Glibc) import Glibc +#elseif canImport(Musl) +import Musl #elseif canImport(WASILibc) import WASILibc #endif