mirror of https://github.com/acidanthera/audk.git
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:
parent
b2b8e872fd
commit
1a734ed85f
|
@ -155,6 +155,7 @@ uid_t getuid (void);
|
||||||
uid_t geteuid (void);
|
uid_t geteuid (void);
|
||||||
gid_t getgid (void);
|
gid_t getgid (void);
|
||||||
gid_t getegid (void);
|
gid_t getegid (void);
|
||||||
|
int issetugid (void);
|
||||||
void qsort (void *, size_t, size_t, int (*)(const void *, const void *));
|
void qsort (void *, size_t, size_t, int (*)(const void *, const void *));
|
||||||
char *getenv (const char *);
|
char *getenv (const char *);
|
||||||
char *secure_getenv (const char *);
|
char *secure_getenv (const char *);
|
||||||
|
|
Loading…
Reference in New Issue