]> prime8.dev >> repos - ttyd.git/commitdiff
include pthread.h for pthread_mutex_t (#206)
authorStuart Henderson <sthen@users.noreply.github.com>
Wed, 31 Jul 2019 08:09:01 +0000 (09:09 +0100)
committerShuanglei Tao <tsl0922@gmail.com>
Wed, 31 Jul 2019 08:09:01 +0000 (16:09 +0800)
Needed to unbreak build on OpenBSD.

src/server.h

index 3a0ad9af89689671ca8f497da2cf4758717a01e9..a8eb20c3093b875e42de3f088e1736e5e1cbd125 100644 (file)
@@ -1,3 +1,4 @@
+#include <pthread.h>
 #include <stdbool.h>
 #include <sys/ioctl.h>
 #include <sys/queue.h>