diff options
| author | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2017-02-02 11:42:04 +0300 |
|---|---|---|
| committer | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2017-02-02 11:42:04 +0300 |
| commit | 3240832746eeb7623e6a30b29a8bc4bdcdb2f705 (patch) | |
| tree | 165293512c28be4ed8a83553f4ca53e5cca25f4c /src | |
| parent | d5efef63150935b136635767da75d48d18f8d1a7 (diff) | |
| download | lua-llthreads2-3240832746eeb7623e6a30b29a8bc4bdcdb2f705.tar.gz lua-llthreads2-3240832746eeb7623e6a30b29a8bc4bdcdb2f705.tar.bz2 lua-llthreads2-3240832746eeb7623e6a30b29a8bc4bdcdb2f705.zip | |
Fix. Warning about undefined `pthread_kill` on some systems. (Close #8 #10)
Diffstat (limited to 'src')
| -rw-r--r-- | src/llthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/llthread.c b/src/llthread.c index 97405d0..eee7290 100644 --- a/src/llthread.c +++ b/src/llthread.c | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | # include <process.h> | 12 | # include <process.h> |
| 13 | #else | 13 | #else |
| 14 | # include <pthread.h> | 14 | # include <pthread.h> |
| 15 | # ifndef _WIN32 | ||
| 16 | # include <signal.h> | ||
| 17 | # endif | ||
| 15 | #endif | 18 | #endif |
| 16 | 19 | ||
| 17 | #include <stdlib.h> | 20 | #include <stdlib.h> |
