Skip to content

Commit c334462

Browse files
committed
[compiler-rt] fix __sanitizer::struct_sock_fprog_sz availability
1 parent 41cde46 commit c334462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
491491
unsigned struct_vt_consize_sz = sizeof(struct vt_consize);
492492
unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes);
493493
unsigned struct_vt_stat_sz = sizeof(struct vt_stat);
494+
unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog);
494495
#endif // SANITIZER_LINUX
495496

496497
#if SANITIZER_LINUX
@@ -537,7 +538,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
537538

538539
unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info);
539540
unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats);
540-
unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog);
541541
# endif // SANITIZER_GLIBC
542542

543543
# if !SANITIZER_ANDROID && !SANITIZER_APPLE

0 commit comments

Comments
 (0)