mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
win32 move gettimeofday include inside extern c
Reported-by: Michel Archambault <marchamb@matrox.com> Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
8f5f91f7c8
commit
f94e058e52
1 changed files with 7 additions and 1 deletions
|
@ -30,10 +30,10 @@
|
|||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include "websock-w32.h"
|
||||
#include "gettimeofday.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#include "gettimeofday.h"
|
||||
#endif
|
||||
#else
|
||||
#include <poll.h>
|
||||
|
@ -654,6 +654,12 @@ lws_send_pipe_choked(struct libwebsocket *wsi);
|
|||
extern unsigned char *
|
||||
libwebsockets_SHA1(const unsigned char *d, size_t n, unsigned char *md);
|
||||
|
||||
extern int
|
||||
lws_b64_encode_string(const char *in, int in_len, char *out, int out_size);
|
||||
|
||||
extern int
|
||||
lws_b64_decode_string(const char *in, char *out, int out_size);
|
||||
|
||||
extern struct libwebsocket_extension libwebsocket_internal_extensions[];
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Reference in a new issue