projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1b904
)
Move include of gettimeofday.h to be able to build in C and C++
author
Michel Archambault
<marchamb@matrox.com>
Tue, 24 May 2011 16:15:25 +0000
(17:15 +0100)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index
e92f892
..
9dfd41c
100644
(file)
--- 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 <poll.h>
#endif