summaryrefslogtreecommitdiff
blob: 8bca2f3803669719f5fcfc46c8de51bb058e99ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- plugins/input/audiocd/audiocd.c
+++ plugins/input/audiocd/audiocd.c
@@ -21,6 +21,7 @@
  */
 
 #include <stdio.h>
+#include <limits.h> /* cdrom.h and INT_MAX */
 #include <linux/cdrom.h>
 #include <errno.h>
 #include <string.h>
--- plugins/input/audiocd/audiocd.h
+++ plugins/input/audiocd/audiocd.h
@@ -23,6 +23,7 @@
 #ifndef __SG_MPFC_AUDIOCD_H__
 #define __SG_MPFC_AUDIOCD_H__
 
+#include <limits.h> /* cdrom.h and INT_MAX */
 #include <linux/cdrom.h>
 #include "types.h"
 #include "logger.h"