diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 6e499ffe..70574093 100644 --- a/include/time.h +++ b/include/time.h @@ -7,7 +7,12 @@ extern "C" { #include <features.h> +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif + #define __NEED_size_t #define __NEED_time_t |