diff options
Diffstat (limited to 'LibC/stdlib.h')
-rw-r--r-- | LibC/stdlib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/LibC/stdlib.h b/LibC/stdlib.h index 4ebff011da..0f88c6edf4 100644 --- a/LibC/stdlib.h +++ b/LibC/stdlib.h @@ -1,8 +1,9 @@ #pragma once -#include "types.h" +#include <sys/cdefs.h> +#include <sys/types.h> -extern "C" { +__BEGIN_DECLS void* malloc(size_t); void free(void*); @@ -12,5 +13,5 @@ void* realloc(void *ptr, size_t); void exit(int status); void abort(); -} +__END_DECLS |