mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
test linux
This commit is contained in:
parent
f1a87a9600
commit
0782422d47
2 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,7 @@ LWS_VISIBLE void lwsl_hexdump(void *vbuf, size_t len)
|
|||
start = n;
|
||||
p = line;
|
||||
|
||||
p += sprintf(p, "%04X: ", start);
|
||||
p += sprintf(p, "%04zX: ", start);
|
||||
|
||||
for (m = 0; m < 16 && n < len; m++)
|
||||
p += sprintf(p, "%02X ", buf[n++]);
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#ifdef CMAKE_BUILD
|
||||
|
|
Loading…
Add table
Reference in a new issue