fix compilation on Solaris

This commit is contained in:
Todd C. Miller
2018-03-10 20:16:20 -07:00
parent 1cb5ab8b9c
commit 910f288948
5 changed files with 7 additions and 7 deletions

View File

@@ -150,7 +150,7 @@ TAILQ_HEAD(userspec_list, userspec);
TAILQ_HEAD(member_list, member);
TAILQ_HEAD(privilege_list, privilege);
TAILQ_HEAD(cmndspec_list, cmndspec);
STAILQ_HEAD(comment_list, comment);
STAILQ_HEAD(comment_list, sudoers_comment);
/*
* Structure describing a user specification and list thereof.
@@ -211,8 +211,8 @@ struct runascontainer {
struct member *runasgroups;
};
struct comment {
STAILQ_ENTRY(comment) entries;
struct sudoers_comment {
STAILQ_ENTRY(sudoers_comment) entries;
char *str;
};