Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys PR/51849: Ngie Cooper: headers portabilit...



details:   https://anonhg.NetBSD.org/src/rev/8aefcda65f4f
branches:  trunk
changeset: 820698:8aefcda65f4f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 20:10:57 2017 +0000

description:
PR/51849: Ngie Cooper: headers portability fixes

diffstat:

 tests/lib/libc/sys/t_clock_gettime.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 6e0379de19b9 -r 8aefcda65f4f tests/lib/libc/sys/t_clock_gettime.c
--- a/tests/lib/libc/sys/t_clock_gettime.c      Fri Jan 13 20:09:48 2017 +0000
+++ b/tests/lib/libc/sys/t_clock_gettime.c      Fri Jan 13 20:10:57 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_clock_gettime.c,v 1.1 2011/10/15 06:42:16 jruoho Exp $ */
+/* $NetBSD: t_clock_gettime.c,v 1.2 2017/01/13 20:10:57 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,16 +58,17 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_clock_gettime.c,v 1.1 2011/10/15 06:42:16 jruoho Exp $");
+__RCSID("$NetBSD: t_clock_gettime.c,v 1.2 2017/01/13 20:10:57 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/sysctl.h>
 
-#include <machine/int_limits.h>
 
 #include <atf-c.h>
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>



Home | Main Index | Thread Index | Old Index