-rw-r--r-- | library/custom-ipaq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/custom-ipaq.h b/library/custom-ipaq.h index 7b794a3..2886940 100644 --- a/library/custom-ipaq.h +++ b/library/custom-ipaq.h | |||
@@ -18,25 +18,24 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <unistd.h> | 20 | #include <unistd.h> |
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <signal.h> | 22 | #include <signal.h> |
23 | #include <fcntl.h> | 23 | #include <fcntl.h> |
24 | #include <sys/ioctl.h> | 24 | #include <sys/ioctl.h> |
25 | #include <linux/soundcard.h> | 25 | #include <linux/soundcard.h> |
26 | #include <qpe/resource.h> | 26 | #include <qpe/resource.h> |
27 | #include <qsound.h> | 27 | #include <qsound.h> |
28 | #include <qpe/sound.h> | 28 | #include <qpe/sound.h> |
29 | 29 | ||
30 | #include <qmessagebox.h> | ||
31 | 30 | ||
32 | #ifndef QT_NO_SOUND | 31 | #ifndef QT_NO_SOUND |
33 | 32 | ||
34 | #define CUSTOM_SOUND_ALARM \ | 33 | #define CUSTOM_SOUND_ALARM \ |
35 | { \ | 34 | { \ |
36 | int fd; \ | 35 | int fd; \ |
37 | int vol; \ | 36 | int vol; \ |
38 | bool vol_reset = false; \ | 37 | bool vol_reset = false; \ |
39 | \ | 38 | \ |
40 | if ((( fd = open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) || \ | 39 | if ((( fd = open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) || \ |
41 | (( fd = open ( "/dev/mixer", O_RDWR )) >= 0 )) { \ | 40 | (( fd = open ( "/dev/mixer", O_RDWR )) >= 0 )) { \ |
42 | \ | 41 | \ |