[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
+1 -1
View File
@@ -2070,7 +2070,7 @@ kotlinNativeInterop {
}
sockets {
defFile '../../samples/socket/src/main/c_interop/sockets.def'
defFile 'interop/basics/sockets.def'
flavor 'native'
}
@@ -7,6 +7,6 @@ static int interop_errno() {
return errno;
}
static int interop_htons(int x) {
static short interop_htons(short x) {
return htons(x);
}