Attempt to fix MacOS compilation issues. (#152)

This commit is contained in:
Eugene Kabanov 2021-02-02 17:10:07 +02:00 committed by GitHub
parent e7f5f855ab
commit dcf197a8c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ elif defined(freebsd) or defined(openbsd) or defined(netbsd) or
elif defined(macosx):
import posix, os
type
SendfileHeader* {.importc: "sf_hdtr",
SendfileHeader* {.importc: "struct sf_hdtr",
header: """#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>""",