diff --git a/samples/socket/src/main/c_interop/sockets.def b/samples/socket/src/main/c_interop/sockets.def index f3daed92c32..f052a0a324f 100644 --- a/samples/socket/src/main/c_interop/sockets.def +++ b/samples/socket/src/main/c_interop/sockets.def @@ -1,5 +1,6 @@ headers = sys/socket.h sys/errno.h netdb.h stdio.h string.h unistd.h stdlib.h netinet/in.h -compilerOpts.osx = -D_ANSI_SOURCE +compilerOpts.osx = -D_ANSI_SOURCE -D_POSIX_SOURCE +excludeFunctions.osx = addrsel_policy_init --- static int interop_errno() {