aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/aio.h1
-rw-r--r--rt/aio_misc.c1
-rw-r--r--rt/aio_notify.c3
3 files changed, 3 insertions, 2 deletions
diff --git a/rt/aio.h b/rt/aio.h
index 643e0fb..0432831 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -26,7 +26,6 @@
#include <features.h>
#include <fcntl.h>
#include <signal.h>
-#define __need_timespec
#include <time.h>
#include <sys/types.h>
diff --git a/rt/aio_misc.c b/rt/aio_misc.c
index ca8f4de..0148705 100644
--- a/rt/aio_misc.c
+++ b/rt/aio_misc.c
@@ -20,6 +20,7 @@
#include <aio.h>
#include <errno.h>
+#include <limits.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/rt/aio_notify.c b/rt/aio_notify.c
index be2e1e2..716a304 100644
--- a/rt/aio_notify.c
+++ b/rt/aio_notify.c
@@ -1,5 +1,5 @@
/* Notify initiator of AIO request.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -18,6 +18,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <errno.h>
#include <pthread.h>
#include <stdlib.h>
#include "aio_misc.h"