Module Name:    src
Committed By:   christos
Date:           Fri Jan 13 20:10:57 UTC 2017

Modified Files:
        src/tests/lib/libc/sys: t_clock_gettime.c

Log Message:
PR/51849: Ngie Cooper: headers portability fixes


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_clock_gettime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/sys/t_clock_gettime.c
diff -u src/tests/lib/libc/sys/t_clock_gettime.c:1.1 src/tests/lib/libc/sys/t_clock_gettime.c:1.2
--- src/tests/lib/libc/sys/t_clock_gettime.c:1.1	Sat Oct 15 02:42:16 2011
+++ src/tests/lib/libc/sys/t_clock_gettime.c	Fri Jan 13 15:10:57 2017
@@ -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>

Reply via email to