forked from lda/telodendria
Fix compile warnings and errors on Linux
This commit is contained in:
parent
7cc08e67fc
commit
c0474982a6
2 changed files with 2 additions and 4 deletions
|
@ -338,10 +338,7 @@ error:
|
||||||
QueueFree(server->connQueue);
|
QueueFree(server->connQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (server->connQueueMutex)
|
|
||||||
{
|
|
||||||
pthread_mutex_destroy(&server->connQueueMutex);
|
pthread_mutex_destroy(&server->connQueueMutex);
|
||||||
}
|
|
||||||
|
|
||||||
if (server->threadPool)
|
if (server->threadPool)
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
long
|
long
|
||||||
|
|
Loading…
Reference in a new issue