summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-05-31 20:27:36 +0000
committerFelix Arends <edx@rockbox.org>2002-05-31 20:27:36 +0000
commitd1ffa5452bf3048f1ccfb0a56563ba0b2ae89496 (patch)
tree789214ede0c5b58dfccc6aa750af183daf71e80d /firmware/common
parent0bb897ae8dfcfc32f7c6db9ef011eba4b7d4e72a (diff)
Had to include <stddef.h> so that size_t is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@861 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/sprintf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/sprintf.h b/firmware/common/sprintf.h
index be79683368..759715115b 100644
--- a/firmware/common/sprintf.h
+++ b/firmware/common/sprintf.h
@@ -20,6 +20,8 @@
#ifndef __SPRINTF_H__
#define __SPRINTF_H__
+#include <stddef.h>
+
int snprintf (char *buf, size_t size, const char *fmt, ...);
#endif /* __SPRINTF_H__ */