From c22596ddde51626c839f6128623f0f5eb3483603 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Jan 2000 12:03:53 +0000 Subject: [PATCH] Include nanosleep.h. Don't include time.h or sys/time.h here. --- lib/nanosleep.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/nanosleep.c b/lib/nanosleep.c index 42f179c556..1f17c09cf5 100644 --- a/lib/nanosleep.c +++ b/lib/nanosleep.c @@ -1,5 +1,5 @@ /* Provide a replacement for the POSIX nanosleep function. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,9 +31,7 @@ extern int errno; # include #endif -#include -/* FIXME: is including both like this kosher? */ -#include +#include "nanosleep.h" static int suspended; int first_call = 1; -- 2.30.2