# HG changeset patch # User Jim Meyering # Date 947073833 0 # Node ID 5b94c298db4150f868767bca97fd25ea7cadaa4c # Parent f062aef90084e5968f869b40e3a4785c3aac0507 Include nanosleep.h. Don't include time.h or sys/time.h here. diff --git a/lib/nanosleep.c b/lib/nanosleep.c --- 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 @@ # include #endif -#include -/* FIXME: is including both like this kosher? */ -#include +#include "nanosleep.h" static int suspended; int first_call = 1;