diff options
author | rebecca via Groups.Io <rebecca=bluestop.org@groups.io> | 2019-04-20 06:38:29 +0000 |
---|---|---|
committer | Jian J Wang <jian.j.wang@intel.com> | 2019-04-24 16:31:11 +0800 |
commit | 1a734ed85fda71630c795832e6d24ea560caf739 (patch) | |
tree | 3f03d7c2e48d3374843f79f496e1350dc8d66455 | |
parent | b2b8e872fd1b3fd19464f0c8634b937c82fcf7c9 (diff) | |
download | edk2-1a734ed85fda71630c795832e6d24ea560caf739.tar.gz edk2-1a734ed85fda71630c795832e6d24ea560caf739.tar.bz2 edk2-1a734ed85fda71630c795832e6d24ea560caf739.zip |
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>
-rw-r--r-- | CryptoPkg/Library/Include/CrtLibSupport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index a241fb96fb..b05c5d908c 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -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 *);
|