diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index fa7a6b4f..2360e040 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -4517,9 +4517,6 @@ lws_timed_callback_vh_protocol(struct lws_vhost *vh, #if !defined(LWS_SIZEOFPTR) #define LWS_SIZEOFPTR ((int)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 9353fbef..50205a01 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 a3c38e00..e25b8c87 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -280,9 +280,6 @@ static inline int compatible_close(int fd) { return close(fd); } #ifndef BYTE_ORDER #define BYTE_ORDER LITTLE_ENDIAN #endif -#ifndef u_int64_t -typedef unsigned __int64 u_int64_t; -#endif #undef __P #ifndef __P