Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sys/sys include stdio.h for NULL



details:   https://anonhg.NetBSD.org/src/rev/e6ff505c5e5a
branches:  trunk
changeset: 344938:e6ff505c5e5a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 28 11:45:02 2016 +0000

description:
include stdio.h for NULL

diffstat:

 external/cddl/osnet/sys/sys/time.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e28d69e9ae47 -r e6ff505c5e5a external/cddl/osnet/sys/sys/time.h
--- a/external/cddl/osnet/sys/sys/time.h        Thu Apr 28 11:38:41 2016 +0000
+++ b/external/cddl/osnet/sys/sys/time.h        Thu Apr 28 11:45:02 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: time.h,v 1.6 2015/12/27 21:42:09 christos Exp $        */
+/*     $NetBSD: time.h,v 1.7 2016/04/28 11:45:02 christos Exp $        */
 
 /*-
  * Copyright (c) 2007 Pawel Jakub Dawidek <pjd%FreeBSD.org@localhost>
@@ -72,6 +72,8 @@
     __RENAME(__clock_gettime50)
 #endif
 ;
+#else
+#include <stdio.h>     /* For NULL */
 #endif
 
 static __inline hrtime_t gethrtime(void) {



Home | Main Index | Thread Index | Old Index