summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-05-09 23:14:55 +0000
committerDave Chapman <dave@dchapman.com>2009-05-09 23:14:55 +0000
commit868652abaa163de646a3d530b9ecfa4a137b7d9b (patch)
treedcb840b7035e9acfa6862d862d6a487b14c9676f
parent25f77f60dd87b44da516971411e334536e198519 (diff)
downloadrockbox-868652abaa163de646a3d530b9ecfa4a137b7d9b.tar.gz
rockbox-868652abaa163de646a3d530b9ecfa4a137b7d9b.zip
Patch by Mohamed Tarek - add #define to protect against multiple inclusion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20897 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libcook/rm2wav.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libcook/rm2wav.h b/apps/codecs/libcook/rm2wav.h
index 09b20c7fa6..f36145fc19 100644
--- a/apps/codecs/libcook/rm2wav.h
+++ b/apps/codecs/libcook/rm2wav.h
@@ -18,6 +18,9 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21#ifndef _RM2WAV_H
22#define _RM2WAV_H
23
21#include <stdio.h> 24#include <stdio.h>
22#include <stdint.h> 25#include <stdint.h>
23 26
@@ -72,3 +75,4 @@ int open_wav(char* filename);
72void close_wav(int fd, RMContext *rmctx); 75void close_wav(int fd, RMContext *rmctx);
73int real_parse_header(int fd, RMContext *rmctx); 76int real_parse_header(int fd, RMContext *rmctx);
74void rm_get_packet(int fd,RMContext *rmctx, RMPacket *pkt); 77void rm_get_packet(int fd,RMContext *rmctx, RMPacket *pkt);
78#endif