From e5d062508ce72aff83a3a2fc6e3a9107cfb970ab Mon Sep 17 00:00:00 2001 From: Wes Date: Fri, 15 Dec 2017 10:28:44 -0500 Subject: [PATCH] Adds mkstemps for OpenBSD --- src/lib_c/amd64-unknown-openbsd/c/stdlib.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib_c/amd64-unknown-openbsd/c/stdlib.cr b/src/lib_c/amd64-unknown-openbsd/c/stdlib.cr index 079cee258a8b..f5d053f7b156 100644 --- a/src/lib_c/amd64-unknown-openbsd/c/stdlib.cr +++ b/src/lib_c/amd64-unknown-openbsd/c/stdlib.cr @@ -16,6 +16,7 @@ lib LibC fun getenv(x0 : Char*) : Char* fun malloc(x0 : SizeT) : Void* fun mkstemp(x0 : Char*) : Int + fun mkstemps(x0 : Char*, x1 : Int) : Int fun putenv(x0 : Char*) : Int fun realloc(x0 : Void*, x1 : SizeT) : Void* fun realpath(x0 : Char*, x1 : Char*) : Char*