#include <ctype.h>
#include <errno.h>
#include "alloc.h"
+#include "intprops.h"
#include "message.h"
#include "str.h"
#include "settings.h"
p = strstr (f->filename, "%d");
if (p)
{
- char *s = local_alloc (strlen (f->filename) + INT_DIGITS - 1);
+ char *s = local_alloc (strlen (f->filename)
+ + INT_STRLEN_BOUND (int) - 1);
char *cp;
memcpy (s, f->filename, p - f->filename);