1 From 39552e917df890c6745faebca38a672c623aa710 Mon Sep 17 00:00:00 2001
2 From: Aurelien Larcher <aurelien.larcher@gmail.com>
3 Date: Tue, 12 Nov 2019 15:01:57 +0000
4 Subject: Fix libsanitizer build for illumos
7 .../sanitizer_platform_limits_solaris.h | 11 +++++++++++
8 1 file changed, 11 insertions(+)
10 diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
11 index cbab577bcf2..826a672b250 100644
12 --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
13 +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
15 #include "sanitizer_internal_defs.h"
16 #include "sanitizer_platform.h"
21 namespace __sanitizer {
22 extern unsigned struct_utsname_sz;
23 extern unsigned struct_stat_sz;
24 @@ -337,6 +340,14 @@ struct __sanitizer_glob_t {
30 + struct stat **gl_statv;
31 + void (*gl_closedir)(void *);
32 + struct dirent *(*gl_readdir)(void *);
33 + void *(*gl_opendir)(const char *);
34 + int (*gl_lstat)(const char *, struct stat *);
35 + int (*gl_stat)(const char *, struct stat *);
38 extern int glob_nomatch;