From 03bec393a50737676059de3bf90f3067db3ea737 Mon Sep 17 00:00:00 2001 From: Michel Archambault Date: Tue, 24 May 2011 17:15:25 +0100 Subject: [PATCH] Move include of gettimeofday.h to be able to build in C and C++ Signed-off-by: Michel Archambault --- lib/libwebsockets.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index e92f892..9dfd41c 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -33,8 +33,10 @@ #ifdef __cplusplus extern "C" { -#include "gettimeofday.h" #endif + +#include "gettimeofday.h" + #else #include #endif -- 2.7.4