summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/audio.h2
-rw-r--r--firmware/export/config/sim.h2
-rw-r--r--firmware/export/pcm.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index 6833761652..1e09081ba5 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -22,7 +22,7 @@
22#define AUDIO_H 22#define AUDIO_H
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include <sys/types.h> 25#include <string.h> /* size_t */
26#include "config.h" 26#include "config.h"
27/* These must always be included with audio.h for this to compile under 27/* These must always be included with audio.h for this to compile under
28 cetain conditions. Do it here or else spread the complication around to 28 cetain conditions. Do it here or else spread the complication around to
diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h
index 56c3e18229..5b42394b1f 100644
--- a/firmware/export/config/sim.h
+++ b/firmware/export/config/sim.h
@@ -95,3 +95,5 @@
95/* default for 100% in the sim */ 95/* default for 100% in the sim */
96#define DEFAULT_BRIGHTNESS_SETTING MAX_BRIGHTNESS_SETTING 96#define DEFAULT_BRIGHTNESS_SETTING MAX_BRIGHTNESS_SETTING
97#endif 97#endif
98
99#define _ISOC99_SOURCE 1
diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h
index e67d459693..0f8222f90d 100644
--- a/firmware/export/pcm.h
+++ b/firmware/export/pcm.h
@@ -21,7 +21,7 @@
21#ifndef PCM_PLAYBACK_H 21#ifndef PCM_PLAYBACK_H
22#define PCM_PLAYBACK_H 22#define PCM_PLAYBACK_H
23 23
24#include <sys/types.h> 24#include <string.h> /* size_t */
25 25
26#define DMA_REC_ERROR_DMA (-1) 26#define DMA_REC_ERROR_DMA (-1)
27#ifdef HAVE_SPDIF_REC 27#ifdef HAVE_SPDIF_REC