about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--rt/aio_notify.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bc941ce0cc..6e4ad754ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-06-13  Roland McGrath  <roland@frob.com>
 
+	* rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
+
 	* sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
 	so the label is not considered unused.
 
diff --git a/rt/aio_notify.c b/rt/aio_notify.c
index 04a9dd6db3..9b17750d03 100644
--- a/rt/aio_notify.c
+++ b/rt/aio_notify.c
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <pthread.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include "aio_misc.h"