Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -20,6 +20,12 @@ · 19 unmodified lines | ||
| 20 | 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | +#ifdef __KERNEL__ | |
| 24 | +#include <linux/types.h> | |
| 25 | +#else | |
| 26 | +#include <stdint.h> | |
| 27 | +#endif | |
| 28 | + | |
| 23 | 29 | /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ |
| 24 | 30 | #define HDSPM_MAX_CHANNELS 64 |
| 25 | 31 | |