From owner-svn-src-head@FreeBSD.ORG Fri Oct 24 06:53:07 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D1EBF04; Fri, 24 Oct 2014 06:53:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09708FF2; Fri, 24 Oct 2014 06:53:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9O6r65d038886; Fri, 24 Oct 2014 06:53:06 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9O6r6ls038885; Fri, 24 Oct 2014 06:53:06 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201410240653.s9O6r6ls038885@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Fri, 24 Oct 2014 06:53:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273578 - head/contrib/netbsd-tests/lib/libc/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 06:53:07 -0000 Author: ngie Date: Fri Oct 24 06:53:06 2014 New Revision: 273578 URL: https://svnweb.freebsd.org/changeset/base/273578 Log: - Add inttypes.h and stdint.h in lieu of int_limits.h from NetBSD - Use #include "h_macros.h" instead of relative path analog Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c Modified: head/contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c Fri Oct 24 06:27:45 2014 (r273577) +++ head/contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c Fri Oct 24 06:53:06 2014 (r273578) @@ -63,7 +63,9 @@ __RCSID("$NetBSD: t_clock_gettime.c,v 1. #include #include +#if defined(__NetBSD__) #include +#endif #include #include @@ -73,7 +75,13 @@ __RCSID("$NetBSD: t_clock_gettime.c,v 1. #include #include +#if defined(__NetBSD__) #include "../../../h_macros.h" +#else +#include +#include +#include "h_macros.h" +#endif #define MINPOSDIFF 15000000 /* 15 ms for now */ #define TIMEOUT 5