[tests][interop] fix sockets.def placement closer to test (fix build)

This commit is contained in:
Vasily Levchenko
2017-10-04 11:14:35 +03:00
committed by Vasily Levchenko
parent 96272aea96
commit 3777d86be2
2 changed files with 2 additions and 2 deletions
@@ -0,0 +1,12 @@
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 -D_POSIX_SOURCE
excludeFunctions.osx = addrsel_policy_init
---
static int interop_errno() {
return errno;
}
static short interop_htons(short x) {
return htons(x);
}