From 98a4fc6346f602b2e70306c8a0c79c4e984d1009 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 2 Jul 2011 02:10:33 +0000 Subject: include sys/time.h earlier (rather than implicitly via fcntl.h) so that the "u" variable doesn't shadow stuff, found later in time.h inlines. kind of a hack, but i don't want to modify time.h either. XXX: seems kind of annoying --- hack/hack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hack') diff --git a/hack/hack.h b/hack/hack.h index 21a94c0c..e25390ba 100644 --- a/hack/hack.h +++ b/hack/hack.h @@ -1,4 +1,4 @@ -/* $NetBSD: hack.h,v 1.13 2009/06/29 23:05:33 dholland Exp $ */ +/* $NetBSD: hack.h,v 1.14 2011/07/02 02:10:33 mrg Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -67,6 +67,7 @@ #include "config.h" #include #include +#include #ifndef BSD #define index strchr -- cgit v1.2.3-56-ge451