]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
timespec is in <time.h>.
authorUlrich Drepper <drepper@redhat.com>
Wed, 24 Dec 1997 21:07:41 +0000 (21:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 24 Dec 1997 21:07:41 +0000 (21:07 +0000)
posix/sched.h

index 277f93eb5249c8af7797418d815d06fa99414dd7..8d48384f673fd0e87055072abffcfb38e7d24eee 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,9 @@
 
 /* Get type definitions.  */
 #include <gnu/types.h>
-#include <sys/time.h>          /* for struct timespec */
+
+#define __need_timespec
+#include <time.h>
 
 /* Get system specific constant and data structure definitions.  */
 #include <schedbits.h>