Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/sys/kern/sleeping pull in some more headers to get p...
details: https://anonhg.NetBSD.org/src/rev/bc4505cb2b2a
branches: trunk
changeset: 753355:bc4505cb2b2a
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Mar 23 20:32:13 2010 +0000
description:
pull in some more headers to get prototypes into scope, and, more
importantly, the __RENAME of pollts(2)
diffstat:
regress/sys/kern/sleeping/sleeptest.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 378c60f7196f -r bc4505cb2b2a regress/sys/kern/sleeping/sleeptest.c
--- a/regress/sys/kern/sleeping/sleeptest.c Tue Mar 23 20:28:58 2010 +0000
+++ b/regress/sys/kern/sleeping/sleeptest.c Tue Mar 23 20:32:13 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sleeptest.c,v 1.2 2006/07/16 22:18:46 kardel Exp $ */
+/* $NetBSD: sleeptest.c,v 1.3 2010/03/23 20:32:13 drochner Exp $ */
/*-
* Copyright (c) 2006 Frank Kardel
@@ -34,6 +34,8 @@
#include <sys/signal.h>
#include <string.h>
#include <err.h>
+#include <unistd.h>
+#include <poll.h>
#define FUZZ 30000000LL /* scheduling fuzz accepted - 30 ms */
#define MAXSLEEP 32000000000LL /* 32 seconds */
Home |
Main Index |
Thread Index |
Old Index