compat IPPORT_USERRESERVED

musl libc doesn't define IPPORT_USERRESERVED
This commit is contained in:
Michael Davidsaver
2020-08-22 07:51:33 -07:00
parent df6981ceae
commit 0cae0db98b
@@ -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)