From c4e45baa619bf6447c79f00f21c61629f6636f6d Mon Sep 17 00:00:00 2001 From: alexander-gorshenev Date: Fri, 13 Oct 2017 20:13:32 +0300 Subject: [PATCH] The time.h header belongs to posix.def, rather than linux.def --- klib/src/platform/linux/linux.def | 2 +- samples/gitchurn/src/main/kotlin/org/konan/libgit/GitChurn.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/klib/src/platform/linux/linux.def b/klib/src/platform/linux/linux.def index fd9a4ba2d97..3b9d8138bef 100644 --- a/klib/src/platform/linux/linux.def +++ b/klib/src/platform/linux/linux.def @@ -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 \ printf.h pty.h re_comp.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 \ arpa/ftp.h arpa/inet.h arpa/nameser_compat.h \ arpa/nameser.h arpa/telnet.h arpa/tftp.h \ diff --git a/samples/gitchurn/src/main/kotlin/org/konan/libgit/GitChurn.kt b/samples/gitchurn/src/main/kotlin/org/konan/libgit/GitChurn.kt index 9c2a67e8cb5..61860c91f92 100644 --- a/samples/gitchurn/src/main/kotlin/org/konan/libgit/GitChurn.kt +++ b/samples/gitchurn/src/main/kotlin/org/konan/libgit/GitChurn.kt @@ -17,7 +17,7 @@ package org.konan.libgit import kotlinx.cinterop.* -import platform.posix.* +import platform.linux.* import libgit2.* fun main(args: Array) {