Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Commit ce900db

Browse files
committed
Merged PR 9924: fix(build): correct extern getsubopt declaration #170226
fix(build): correct extern getsubopt declaration #170226 Correct cyrus sasl extern getsubopt declaration for osx to correct build error. Related work items: #170226
1 parent 4b1d0fb commit ce900db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cyrus-sasl/mac/include/config.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ extern int getopt(
128128
char * const *nargv,
129129
const char *ostr);
130130

131-
extern int getsubopt(char **optionp, const char * const *tokens, char **valuep);
131+
/* extern int getsubopt(char **optionp, const char * const *tokens, char **valuep); */
132+
/* PBIS modification to make this definition match the OSX unistd.h definition */
133+
extern int getsubopt(char **optionp, char * const *tokens, char **valuep);
132134
extern char* getpass(const char *prompt);
133135

134136
/* ------------------------------------------------------------ */

0 commit comments

Comments
 (0)