- 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
This commit is contained in:
Enji Cooper 2014-10-24 06:53:06 +00:00
parent 20e27addbf
commit bc3c590b4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273578

View File

@ -63,7 +63,9 @@ __RCSID("$NetBSD: t_clock_gettime.c,v 1.1 2011/10/15 06:42:16 jruoho Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
#if defined(__NetBSD__)
#include <machine/int_limits.h>
#endif
#include <atf-c.h>
#include <errno.h>
@ -73,7 +75,13 @@ __RCSID("$NetBSD: t_clock_gettime.c,v 1.1 2011/10/15 06:42:16 jruoho Exp $");
#include <time.h>
#include <unistd.h>
#if defined(__NetBSD__)
#include "../../../h_macros.h"
#else
#include <limits.h>
#include <stdint.h>
#include "h_macros.h"
#endif
#define MINPOSDIFF 15000000 /* 15 ms for now */
#define TIMEOUT 5