Skip to content
Snippets Groups Projects
Commit 8f141951 authored by zhengfish's avatar zhengfish Committed by Adrien Béraud
Browse files

fixed a compiling error in openwrt-18.04.5


Signed-off-by: default avatarzhengfish <zhengfish@gmail.com>
parent 43d111b7
Branches
Tags
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#define close(x) closesocket(x) #define close(x) closesocket(x)
#define write(s, b, f) send(s, b, (int)strlen(b), 0) #define write(s, b, f) send(s, b, (int)strlen(b), 0)
#else #else
#include <sys/select.h>
#include <fcntl.h> #include <fcntl.h>
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment