Clean up warnings for round() function declaration.

This commit is contained in:
Stephen Williams 2007-11-30 21:11:27 -08:00
parent fde334a5d2
commit 26aee6cbae
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
#ident "$Id: sys_scanf.c,v 1.8 2007/04/16 00:09:58 steve Exp $"
#endif
/* round() is ISO C99 from math.h. This define should enable it. */
# define _ISOC99_SOURCE 1
# define _SVID_SOURCE 1
# include "vpi_user.h"
# include "sys_priv.h"
# include <ctype.h>