equal
deleted
inserted
replaced
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 linux |
|
43 #include <linux/soundcard.h> |
|
44 #endif |
|
45 #ifdef __bsdi__ |
|
46 #include <sys/soundcard.h> |
42 #include <sys/soundcard.h> |
47 #endif |
|
48 #ifdef __FreeBSD__ |
|
49 #include <machine/soundcard.h> |
|
50 #endif |
|
51 #ifdef __OpenBSD__ |
|
52 #include <soundcard.h> |
|
53 #endif |
|
54 #ifdef __USLC__ |
|
55 #include <sys/soundcard.h> |
|
56 #endif |
|
57 |
43 |
58 #ifndef MAP_FAILED |
44 #ifndef MAP_FAILED |
59 #define MAP_FAILED ((Uint8 *)-1) |
45 #define MAP_FAILED ((Uint8 *)-1) |
60 #endif |
46 #endif |
61 |
47 |