From a050eb29cf058860b3055f4720230ca8acb3d855 Mon Sep 17 00:00:00 2001 From: Neal Horman Date: Thu, 11 Dec 2014 10:27:23 -0600 Subject: [PATCH] A better solution to make it compile under cpp --- lib/libwebsockets.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 7d3198b14..8ddaa7e17 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -23,10 +23,8 @@ #define LIBWEBSOCKET_H_3060898B846849FF9F88F5DB59B5950C #ifdef __cplusplus -extern "C" { -#if !defined(__clang__) #include -#endif +extern "C" { #endif #ifdef CMAKE_BUILD