mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 07:29:07 +08:00
4cbbcbddfd
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
28 lines
719 B
Diff
28 lines
719 B
Diff
From 0f783f1a8eac7a78bc92198e140d4a5c745382ca Mon Sep 17 00:00:00 2001
|
|
From: Nicole Mazzuca <mazzucan@outlook.com>
|
|
Date: Wed, 23 Sep 2020 11:50:21 -0700
|
|
Subject: [PATCH] include unistd for gete?[ug]id
|
|
|
|
---
|
|
loader/linux/icd_linux_envvars.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/loader/linux/icd_linux_envvars.c b/loader/linux/icd_linux_envvars.c
|
|
index 4af5a08..92b0698 100644
|
|
--- a/loader/linux/icd_linux_envvars.c
|
|
+++ b/loader/linux/icd_linux_envvars.c
|
|
@@ -25,6 +25,10 @@
|
|
|
|
#include <stdlib.h>
|
|
|
|
+#if defined(__APPLE__)
|
|
+#include <unistd.h>
|
|
+#endif
|
|
+
|
|
char *khrIcd_getenv(const char *name) {
|
|
// No allocation of memory necessary for Linux.
|
|
return getenv(name);
|
|
--
|
|
2.24.3 (Apple Git-128)
|
|
|