diff options
Diffstat (limited to 'libavdevice/audio.c')
-rw-r--r-- | libavdevice/audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/audio.c b/libavdevice/audio.c index 87ffdef121..6cd3313a90 100644 --- a/libavdevice/audio.c +++ b/libavdevice/audio.c @@ -31,7 +31,9 @@ #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <sys/time.h> #define AUDIO_BLOCK_SIZE 4096 |