Skip to content

Commit

Permalink
Update Unix.c
Browse files Browse the repository at this point in the history
  • Loading branch information
zx70 authored Jul 17, 2021
1 parent 2cda103 commit f6ad3d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@
#include <time.h>

#ifdef SOUND
#ifndef ALLEGRO
#include <stdlib.h>
#include <unistd.h>
#ifndef WIN32
#include <sys/ioctl.h>
#endif
#include <fcntl.h>
#include <sys/soundcard.h>
#include <string.h>
Expand Down Expand Up @@ -186,7 +189,9 @@ int Sound_FlushSound (void)
return 1;
}
#endif
#endif

#ifndef ALLEGRO
#ifdef JOYSTICK
#include <linux/joystick.h>
#include <unistd.h>
Expand Down Expand Up @@ -241,6 +246,7 @@ int ReadJoystick (void)
return i;
}
#endif
#endif

/****************************************************************************/
/*** Return the time elapsed in microseconds ***/
Expand Down

0 comments on commit f6ad3d8

Please sign in to comment.