From ce900dbb59c6b61ae156402a44883c18a8f08cf6 Mon Sep 17 00:00:00 2001 From: David Morash Date: Fri, 14 Dec 2018 13:37:16 -0400 Subject: [PATCH] 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 --- cyrus-sasl/mac/include/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cyrus-sasl/mac/include/config.h b/cyrus-sasl/mac/include/config.h index 35a3c66fd..b81b2996c 100755 --- a/cyrus-sasl/mac/include/config.h +++ b/cyrus-sasl/mac/include/config.h @@ -128,7 +128,9 @@ extern int getopt( char * const *nargv, const char *ostr); -extern int getsubopt(char **optionp, const char * const *tokens, char **valuep); +/* extern int getsubopt(char **optionp, const char * const *tokens, char **valuep); */ +/* PBIS modification to make this definition match the OSX unistd.h definition */ +extern int getsubopt(char **optionp, char * const *tokens, char **valuep); extern char* getpass(const char *prompt); /* ------------------------------------------------------------ */