mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-02-21 07:28:31 +00:00
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…
x
Reference in New Issue
Block a user