The time.h header belongs to posix.def, rather than linux.def
This commit is contained in:
@@ -9,7 +9,7 @@ headers = aio.h aliases.h a.out.h argp.h argz.h byteswap.h cpio.h crypt.h \
|
|||||||
nl_types.h nss.h obstack.h \
|
nl_types.h nss.h obstack.h \
|
||||||
printf.h pty.h re_comp.h \
|
printf.h pty.h re_comp.h \
|
||||||
spawn.h stab.h stdc-predef.h stdio_ext.h syscall.h \
|
spawn.h stab.h stdc-predef.h stdio_ext.h syscall.h \
|
||||||
tar.h termio.h thread_db.h time.h ttyent.h uchar.h ulimit.h \
|
tar.h termio.h thread_db.h ttyent.h uchar.h ulimit.h \
|
||||||
ustat.h utmpx.h values.h wait.h wordexp.h \
|
ustat.h utmpx.h values.h wait.h wordexp.h \
|
||||||
arpa/ftp.h arpa/inet.h arpa/nameser_compat.h \
|
arpa/ftp.h arpa/inet.h arpa/nameser_compat.h \
|
||||||
arpa/nameser.h arpa/telnet.h arpa/tftp.h \
|
arpa/nameser.h arpa/telnet.h arpa/tftp.h \
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
package org.konan.libgit
|
package org.konan.libgit
|
||||||
|
|
||||||
import kotlinx.cinterop.*
|
import kotlinx.cinterop.*
|
||||||
import platform.posix.*
|
import platform.linux.*
|
||||||
import libgit2.*
|
import libgit2.*
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun main(args: Array<String>) {
|
||||||
|
|||||||
Reference in New Issue
Block a user