deps: use non-ancient version of jna.

This commit is contained in:
Ganom
2021-02-27 18:30:45 -05:00
parent d3ad73fb9d
commit 4f7c1a78ca
2 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ import com.sun.jna.platform.unix.LibC;
interface RLLibC extends LibC
{
RLLibC INSTANCE = Native.loadLibrary(NAME, RLLibC.class);
RLLibC INSTANCE = Native.load(NAME, RLLibC.class);
int AF_INET = 2;
int SOCK_DGRAM = 2;
@@ -40,7 +40,7 @@ interface RLLibC extends LibC
int socket(int domain, int type, int protocol);
void close(int socket);
int close(int socket);
int sendto(int sockfd, byte[] buf, int len, int flags, byte[] dest_addr, int addrlen);