CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

When building OpenSSL, the OpenBSD/FreeBSD/DFBSD code in crypto/uid.c
calls issetugid(). Add the declaration of this function to
CrtLibSupport.h to avoid the need to patch the openssl code on these
platforms.

Signed-off-by: Rebecca Cran <rebecca@bluestop.org>
Reviewed-by: Jian Wang <jian.j.wang@intel.com>
This commit is contained in:
rebecca via Groups.Io 2019-04-20 06:38:29 +00:00 committed by Jian J Wang
parent b2b8e872fd
commit 1a734ed85f
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ uid_t getuid (void);
uid_t geteuid (void);
gid_t getgid (void);
gid_t getegid (void);
int issetugid (void);
void qsort (void *, size_t, size_t, int (*)(const void *, const void *));
char *getenv (const char *);
char *secure_getenv (const char *);