1
0
Fork 0
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:
Michel Archambault 2011-05-24 17:15:25 +01:00 committed by Andy Green
parent 6a1b904c95
commit 03bec393a5

View file

@ -33,8 +33,10 @@
#ifdef __cplusplus
extern "C" {
#include "gettimeofday.h"
#endif
#include "gettimeofday.h"
#else
#include <poll.h>
#endif