Skip to content

Commit

Permalink
Ensure pthread.h is included under gwsocket.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Nov 5, 2016
1 parent dedf924 commit 85e772e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/gwsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <sys/stat.h>
#include <unistd.h>

Expand Down
1 change: 1 addition & 0 deletions src/gwsocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#define GW_VERSION "0.1"

#include <pthread.h>
#include "websocket.h"

typedef struct GWSReader_
Expand Down

0 comments on commit 85e772e

Please sign in to comment.