[tests][interop] fix sockets.def placement closer to test (fix build)
This commit is contained in:
committed by
Vasily Levchenko
parent
96272aea96
commit
3777d86be2
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user