mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Move include of gettimeofday.h to be able to build in C and C++
Signed-off-by: Michel Archambault <marchamb@matrox.com>
This commit is contained in:
parent
6a1b904c95
commit
03bec393a5
1 changed files with 3 additions and 1 deletions
|
@ -33,8 +33,10 @@
|
|||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#include "gettimeofday.h"
|
||||
#endif
|
||||
|
||||
#include "gettimeofday.h"
|
||||
|
||||
#else
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue