stardot / b-em

An opensource BBC Micro emulator for Win32 and Linux
http://stardot.org.uk/forums/viewtopic.php?f=4&t=10823
GNU General Public License v2.0
117 stars 58 forks source link

Fix a compiler warning by including <pthread.h>. #103

Closed jamesyoungman closed 4 years ago

jamesyoungman commented 4 years ago

When HAVE_ALSA_ASOUNDLIB_H is #defined, we're going to use functions from pthread.h, so #include it. Do not include it otherwise, so we don't break compilation on platforms that don't have it (since configure will have ensured that HAVE_ALSA_ASOUNDLIB_H is not defined on those).