summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/ualarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/ualarm.c')
-rw-r--r--sysdeps/unix/bsd/ualarm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/ualarm.c b/sysdeps/unix/bsd/ualarm.c
index c153fb1705..b9a1409bab 100644
--- a/sysdeps/unix/bsd/ualarm.c
+++ b/sysdeps/unix/bsd/ualarm.c
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <sys/time.h>
+#include <unistd.h>
/* Set an alarm to go off (generating a SIGALRM signal) in VALUE microseconds.
If INTERVAL is nonzero, when the alarm goes off, the timer is reset to go