Skip to content

Commit f51e55e

Browse files
committed
[compiler-rt] [netbsd] Reintroduce __sanitizer_protoent
Partial revert of https://reviews.llvm.org/D82424
1 parent b81c57d commit f51e55e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ struct __sanitizer_shmid_ds {
129129
void *_shm_internal;
130130
};
131131

132+
struct __sanitizer_protoent {
133+
char *p_name;
134+
char **p_aliases;
135+
int p_proto;
136+
};
137+
132138
struct __sanitizer_netent {
133139
char *n_name;
134140
char **n_aliases;

0 commit comments

Comments
 (0)