Module Name: src
Committed By: mrg
Date: Sat Jul 2 02:10:33 UTC 2011
Modified Files:
src/games/hack: hack.h
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/games/hack/hack.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/hack/hack.h
diff -u src/games/hack/hack.h:1.13 src/games/hack/hack.h:1.14
--- src/games/hack/hack.h:1.13 Mon Jun 29 23:05:33 2009
+++ src/games/hack/hack.h Sat Jul 2 02:10:33 2011
@@ -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 <stdlib.h>
#include <string.h>
+#include <sys/time.h>
#ifndef BSD
#define index strchr