=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- src/include/time.h 2011/04/06 11:39:42 1.19 +++ src/include/time.h 2011/07/03 18:51:01 1.20 @@ -1,4 +1,4 @@ -/* $OpenBSD: time.h,v 1.19 2011/04/06 11:39:42 miod Exp $ */ +/* $OpenBSD: time.h,v 1.20 2011/07/03 18:51:01 jsg Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* @@ -47,6 +47,8 @@ #ifndef NULL #ifdef __GNUG__ #define NULL __null +#elif defined(__cplusplus) +#define NULL 0L #else #define NULL ((void *)0) #endif