#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: vasprintf.c,v 1.9 2012/08/09 16:33:30 christos Exp $")
+FILE_RCSID("@(#)$File: vasprintf.c,v 1.10 2012/08/09 16:40:04 christos Exp $")
#endif /* lint */
#include <assert.h>
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
#define ALLOC_CHUNK 2048
#define ALLOC_SECURITY_MARGIN 1024 /* big value because some platforms have very big 'G' exponent */
modifier = 'L'; /* 'll' == 'L' long long == long double */
} /* only for compatibility ; not portable */
INCOHERENT_TEST();
- } else
+ break;
+ default:
modifier = -1; /* no modifier specified */
+ break;
+ }
/* type */
type = *SRCTXT;