diff --git a/include/msg_format.h b/include/msg_format.h index 3762825f2..497fc4f1a 100644 --- a/include/msg_format.h +++ b/include/msg_format.h @@ -13,7 +13,7 @@ #include #ifdef __linux__ - #define _BSD_SOURCE 1 + #define _BSD_SOURCE 1 #include #elif defined(__PPC__) /* Xilinx toolchain */ #include diff --git a/lib/websocket.c b/lib/websocket.c index c00c7e8bd..effc164b1 100644 --- a/lib/websocket.c +++ b/lib/websocket.c @@ -310,7 +310,7 @@ found: * (void **) user = n; break; } - pthread_mutex_unlock(&w->read.mutex); + pthread_mutex_unlock(&w->read.mutex); pthread_cond_broadcast(&w->read.cond); /* new data available, wake-up websocket_read() */ return 0;