1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

android toolchain SHA1 endian fix

Android toolchain needs an extra include if it's not to confuse
SHA-1 code probably with incorrect endian-ness from missing /bits/

Signed-off-by: Peter Hillier <peterhillier@yahoo.com>
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Peter Hillier 2012-05-02 06:09:45 +08:00 committed by Andy Green
parent 06fbcee703
commit 05c66f7e4e

View file

@ -59,6 +59,7 @@ typedef unsigned __int64 u_int64_t;
#define bzero(b, len) (memset((b), '\0', (len)), (void) 0)
#else
#include <sys/stat.h>
#include <sys/cdefs.h>
#include <sys/time.h>
#endif