Attempt to fix MacOS compilation issues. (#152)
This commit is contained in:
parent
e7f5f855ab
commit
dcf197a8c7
|
@ -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>""",
|
||||
|
|
Loading…
Reference in New Issue