summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-23 12:04:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-23 12:04:30 +0000
commit13cad904ae59f098ef279a4825cbcb998b88095e (patch)
treef6aae8eb9d84729b13875cdba3e942788cc43255
parent519561982996cb666128ce694f41420728d81312 (diff)
downloadrockbox-13cad904ae59f098ef279a4825cbcb998b88095e.tar.gz
rockbox-13cad904ae59f098ef279a4825cbcb998b88095e.zip
if __CONFIG_H__ is defined, don't include config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6507 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-player-charset.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-player-charset.c b/firmware/drivers/lcd-player-charset.c
index 479d19e737..790f0df1c4 100644
--- a/firmware/drivers/lcd-player-charset.c
+++ b/firmware/drivers/lcd-player-charset.c
@@ -16,7 +16,11 @@
* KIND, either express or implied.
*
****************************************************************************/
+#ifndef __CONFIG_H__
+/* to easier allow this source file to be used even from tools when config.h
+ cannot be included safely */
#include "config.h"
+#endif
#ifdef HAVE_LCD_CHARCELLS