From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11889 invoked by alias); 17 May 2003 17:36:53 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 11836 invoked from network); 17 May 2003 17:36:52 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 17 May 2003 17:36:52 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 8AC01152BA for ; Sat, 17 May 2003 19:36:50 +0200 (MEST) Received: from aj by arthur.inka.de with local (Exim 4.12) id 19H5c0-0003wB-00 for libc-hacker@sources.redhat.com; Sat, 17 May 2003 19:36:48 +0200 To: GNU libc hacker Subject: problems with tst-clock_nanosleep fixed From: Andreas Jaeger Date: Sat, 17 May 2003 17:36:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00026.txt.bz2 Running the testsuite on x86-64 I get: tst-clock_nanosleep.c: In function `do_test': tst-clock_nanosleep.c:36: warning: implicit declaration of function `clock_nanosleep' tst-clock_nanosleep.c:36: error: `CLOCK_REALTIME' undeclared (first use in this function) tst-clock_nanosleep.c:36: error: (Each undeclared identifier is reported only once I've committed the appended patch to fix this, Andreas 2003-05-17 Andreas Jaeger * rt/tst-clock_nanosleep.c: Include for clock_nanosleep. ============================================================ Index: rt/tst-clock_nanosleep.c --- rt/tst-clock_nanosleep.c 17 May 2003 06:04:51 -0000 1.1 +++ rt/tst-clock_nanosleep.c 17 May 2003 17:36:35 -0000 @@ -20,6 +20,7 @@ #include #include #include +#include /* Test that clock_nanosleep() does sleep. */ -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj