summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-04-01 10:29:42 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-04-01 10:29:42 +0000
commit3ece65b8949692ccf350e55a92279f56e2beaf13 (patch)
treee9e04c94ac78b01e181153d765b98e7437006d24 /compiler-rt
parent33f973a43a904a60517a992bcf682d3151083264 (diff)
downloadbcm5719-llvm-3ece65b8949692ccf350e55a92279f56e2beaf13.tar.gz
bcm5719-llvm-3ece65b8949692ccf350e55a92279f56e2beaf13.zip
Fix definition of the __sanitizer_passwd structure on FreeBSD
llvm-svn: 205290
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index 2aa10b7d570..b1fb0ae12d9 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -279,7 +279,7 @@ namespace __sanitizer {
char *pw_passwd;
int pw_uid;
int pw_gid;
-#if SANITIZER_MAC
+#if SANITIZER_MAC || SANITIZER_FREEBSD
long pw_change;
char *pw_class;
#endif
@@ -288,9 +288,12 @@ namespace __sanitizer {
#endif
char *pw_dir;
char *pw_shell;
-#if SANITIZER_MAC
+#if SANITIZER_MAC || SANITIZER_FREEBSD
long pw_expire;
#endif
+#if SANITIZER_FREEBSD
+ int pw_fields;
+#endif
};
struct __sanitizer_group {
OpenPOWER on IntegriCloud