Move include of gettimeofday.h to be able to build in C and C++
authorMichel Archambault <marchamb@matrox.com>
Tue, 24 May 2011 16:15:25 +0000 (17:15 +0100)
committerAndy Green <andy.green@linaro.org>
Tue, 24 May 2011 16:15:25 +0000 (17:15 +0100)
Signed-off-by: Michel Archambault <marchamb@matrox.com>
lib/libwebsockets.h

index e92f892..9dfd41c 100644 (file)
 
 #ifdef __cplusplus
 extern "C" {
-#include "gettimeofday.h"
 #endif
+
+#include "gettimeofday.h"
+
 #else
 #include <poll.h>
 #endif