From "DevYourWorld" on github
https://github.com/warmcat/libwebsockets/issues/64#issuecomment-
35720037
Signed-off-by: Andy Green <andy.green@linaro.org>
* Helper to report HTTP errors back to the client cleanly and
* consistently
*/
-LWS_VISIBLE int libwebsockets_return_http_status(
+LWS_VISIBLE LWS_EXTERN int libwebsockets_return_http_status(
struct libwebsocket_context *context, struct libwebsocket *wsi,
unsigned int code, const char *html_body)
{