diff --git a/Unix.c b/Unix.c index 1fe52b0..fefc27c 100644 --- a/Unix.c +++ b/Unix.c @@ -16,9 +16,12 @@ #include #ifdef SOUND +#ifndef ALLEGRO #include #include +#ifndef WIN32 #include +#endif #include #include #include @@ -186,7 +189,9 @@ int Sound_FlushSound (void) return 1; } #endif +#endif +#ifndef ALLEGRO #ifdef JOYSTICK #include #include @@ -241,6 +246,7 @@ int ReadJoystick (void) return i; } #endif +#endif /****************************************************************************/ /*** Return the time elapsed in microseconds ***/