conditionally include threads.h

This commit is contained in:
Daniel Micay 2019-03-26 01:28:27 -04:00
parent 98deb9de52
commit df9650fe64

View File

@ -4,7 +4,9 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#if N_ARENA > 1
#include <threads.h> #include <threads.h>
#endif
#include <malloc.h> #include <malloc.h>
#include <pthread.h> #include <pthread.h>