summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-24 21:07:41 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-24 21:07:41 +0000
commitad9dd14dbe38a709a545dd5bf073acb40145c705 (patch)
tree8035cf33e3a8d38433138edc011855155e5fec4e
parentc0f9cb02b83b6d5218645d1e749b2d3ac33f1159 (diff)
timespec is in <time.h>.
-rw-r--r--posix/sched.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/posix/sched.h b/posix/sched.h
index 277f93eb52..8d48384f67 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -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>