diff --git a/include/stdlib.h b/include/stdlib.h index 4e7ffbd6a..05148d7da 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -44,6 +44,12 @@ typedef unsigned size_t; #define _HAVE_size_t #endif +/* NULL pointer */ +#ifndef _HAVE_NULL +#define NULL ((void *) 0) +#define _HAVE_NULL +#endif + /* Standard exit codes */ #define EXIT_SUCCESS 0 #define EXIT_FAILURE 1 @@ -167,6 +173,3 @@ int __fastcall__ putenv (char* s); /* End of stdlib.h */ #endif - - -