Skip to content

Commit

Permalink
Merge pull request #103 from jamesyoungman/jy/compiler-warnings
Browse files Browse the repository at this point in the history
Fix a compiler warning by including <pthread.h>.
  • Loading branch information
SteveFosdick authored Apr 26, 2020
2 parents 696d30b + fd1387b commit 8979e9c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/midi-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
#include "music4000.h"
#include "midi-linux.h"
#include "sound.h"
//#include <pthread.h>
//#include <unistd.h>

#if HAVE_ALSA_ASOUNDLIB_H
// We only include these header files for ALSA since
// they may not exist on non-POSIX platforms.
# include <pthread.h>
# include <unistd.h>
#endif

midi_dev_t midi_music4000;
midi_dev_t midi_music2000_out1;
Expand Down

0 comments on commit 8979e9c

Please sign in to comment.