'Perfect LDAP Swift does not compile on Linux

I am using PerfectLDAP and it works as designed in MacOS, however when I try moving it to docker the build process complains about missing memset:

[15/898] Compiling PerfectICONV PerfectICONV.swift #21 20.48 /build/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:72:5: error: cannot find 'memset' in scope

Is there a way to fix this without changing the source code ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source