Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tinyprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Configuration adjustments
*/
#ifdef PRINTF_SIZE_T_SUPPORT
#include <sys/types.h>
#include <stddef.h>
#endif

#ifdef PRINTF_LONG_LONG_SUPPORT
Expand Down Expand Up @@ -380,6 +380,7 @@ void tfp_format(void *putp, putcf putf, const char *fmt, va_list va)
lng = 2;
# endif
#endif
//-fallthrough
case 'x':
case 'X':
p.base = 16;
Expand Down
2 changes: 1 addition & 1 deletion tinyprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ regs Kusti, 23.10.2004
/* Optional external types dependencies */

#if TINYPRINTF_DEFINE_TFP_SPRINTF
# include <sys/types.h> /* size_t */
# include <stddef.h> /* size_t */
#endif

/* Declarations */
Expand Down