summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-04-30 18:08:16 +0000
committerJakub Jelinek <jakub@redhat.com>2008-04-30 18:08:16 +0000
commitb5ec5fce74f74911ed147d9627ba0c1882a73fe4 (patch)
tree4ffd7e45a7cebf3f85f1c7d0b78ecb69403277b8
parentd4e92d9e08762f4c5ae3d9fc8856f03672a28247 (diff)
* stdlib/tst-setcontext.c: Include unistd.h.
2008-04-30 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-setcontext.c: Include unistd.h.
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/tst-setcontext.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c4acf95c7..30919ee6cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ * stdlib/tst-setcontext.c: Include unistd.h.
+
2008-04-25 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl):
diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c
index 28bf230264..beec23a686 100644
--- a/stdlib/tst-setcontext.c
+++ b/stdlib/tst-setcontext.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001,2002,2004,2006 Free Software Foundation, Inc.
+/* Copyright (C) 2001,2002,2004,2006,2007,2008 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
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include <ucontext.h>
+#include <unistd.h>
static ucontext_t ctx[3];