Mercurial > sdl-ios-xcode
comparison src/audio/dma/SDL_dmaaudio.c @ 94:ae6e6b73333f
Cleaned up the OpenBSD port, thanks to Peter Valchev
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 08 Jul 2001 09:00:06 +0000 |
parents | dab667b72ccc |
children | e8157fcb3114 |
comparison
equal
deleted
inserted
replaced
93:fc774f445e10 | 94:ae6e6b73333f |
---|---|
37 #include <sys/types.h> | 37 #include <sys/types.h> |
38 #include <sys/time.h> | 38 #include <sys/time.h> |
39 #include <sys/ioctl.h> | 39 #include <sys/ioctl.h> |
40 #include <sys/stat.h> | 40 #include <sys/stat.h> |
41 #include <sys/mman.h> | 41 #include <sys/mman.h> |
42 #ifdef OSS_USE_SOUNDCARD_H | |
43 /* This is installed on some systems */ | |
44 #include <soundcard.h> | |
45 #else | |
46 /* This is recommended by OSS */ | |
42 #include <sys/soundcard.h> | 47 #include <sys/soundcard.h> |
48 #endif | |
43 | 49 |
44 #ifndef MAP_FAILED | 50 #ifndef MAP_FAILED |
45 #define MAP_FAILED ((Uint8 *)-1) | 51 #define MAP_FAILED ((Uint8 *)-1) |
46 #endif | 52 #endif |
47 | 53 |