diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 785e2ccff..460c73260 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -4013,9 +4013,6 @@ lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs); #if !defined(LWS_SIZEOFPTR) #define LWS_SIZEOFPTR (sizeof (void *)) #endif -#if !defined(u_int64_t) -#define u_int64_t unsigned long long -#endif #if defined(__x86_64__) #define _LWS_PAD_SIZE 16 /* Intel recommended for best performance */ diff --git a/lib/misc/sha-1.c b/lib/misc/sha-1.c index 9353fbefe..50205a010 100644 --- a/lib/misc/sha-1.c +++ b/lib/misc/sha-1.c @@ -45,7 +45,7 @@ struct sha1_ctxt { } h; union { unsigned char b8[8]; - u_int64_t b64[1]; + uint64_t b64[1]; } c; union { unsigned char b8[64]; diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 4d6babbfa..535fa0be5 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -356,9 +356,6 @@ esp8266_tcp_stream_bind(lws_sockfd_type fd, int port, struct lws *wsi); #ifndef BYTE_ORDER #define BYTE_ORDER LITTLE_ENDIAN #endif -#ifndef u_int64_t -typedef unsigned __int64 u_int64_t; -#endif #undef __P #ifndef __P