compat IPPORT_USERRESERVED
musl libc doesn't define IPPORT_USERRESERVED
This commit is contained in:
1 parent
df6981ceae
commit
0cae0db98b
1 file changed
+3
@@ -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