Repository: qpid-proton Updated Branches: refs/heads/master 7d5bf0a69 -> 5c6207f6a
AIX has getopt in stdlib Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d3c6fb0b Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d3c6fb0b Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d3c6fb0b Branch: refs/heads/master Commit: d3c6fb0ba4443ab607e8a985e03870d8d6a4eec3 Parents: a515e19 Author: Steve Huston <shus...@riverace.com> Authored: Thu Jan 29 20:35:44 2015 -0500 Committer: Steve Huston <shus...@riverace.com> Committed: Thu Jan 29 20:35:44 2015 -0500 ---------------------------------------------------------------------- examples/include/pncompat/misc_defs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d3c6fb0b/examples/include/pncompat/misc_defs.h ---------------------------------------------------------------------- diff --git a/examples/include/pncompat/misc_defs.h b/examples/include/pncompat/misc_defs.h index 1c01756..90b0d4e 100644 --- a/examples/include/pncompat/misc_defs.h +++ b/examples/include/pncompat/misc_defs.h @@ -37,10 +37,12 @@ #include <proton/types.h> -#if !defined(_WIN32) || defined (__CYGWIN__) -#include <getopt.h> +#if defined(__IBMC__) +# include <stdlib.h> +#elif !defined(_WIN32) || defined (__CYGWIN__) +# include <getopt.h> #else -#include "internal/getopt.h" +# include "internal/getopt.h" #endif pn_timestamp_t time_now(void); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org