Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Puck Meerburg
2014-12-14 18:06:09 +01:00
committed by Jérôme Duval
parent 1d13a60901
commit a5f30beaad
5 changed files with 131 additions and 0 deletions
+4
View File
@@ -11,6 +11,7 @@
#include <limits.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <wchar_t.h>
#define RAND_MAX 0x7fffffff
@@ -71,6 +72,9 @@ extern char *fcvt(double value, int precision, int *_decimalPoint,
int *_sign);
extern char *gcvt(double value, int digits, char *buffer);
extern char *l64a(long n);
extern long a64l(const char *string);
/* environment variables */
extern char **environ;
extern int clearenv(void);
+1
View File
@@ -9,6 +9,7 @@
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <time.h>
/* stddef.h is not supposed to define wint_t, but gcc 2.95.3's one does.