compat IPPORT_USERRESERVED
musl libc doesn't define IPPORT_USERRESERVED
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
#include <netdb.h>
|
||||
#include <unistd.h> /* close() and others */
|
||||
|
||||
#ifndef IPPORT_USERRESERVED
|
||||
#define IPPORT_USERRESERVED 5000
|
||||
#endif
|
||||
|
||||
typedef int SOCKET;
|
||||
#define INVALID_SOCKET (-1)
|
||||
|
||||
Reference in New Issue
Block a user