summary refs log tree commit diff
path: root/stdlib/tst-setcontext.c
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 /stdlib/tst-setcontext.c
parentd4e92d9e08762f4c5ae3d9fc8856f03672a28247 (diff)
downloadglibc-b5ec5fce74f74911ed147d9627ba0c1882a73fe4.tar.gz
glibc-b5ec5fce74f74911ed147d9627ba0c1882a73fe4.tar.xz
glibc-b5ec5fce74f74911ed147d9627ba0c1882a73fe4.zip
* stdlib/tst-setcontext.c: Include unistd.h.
2008-04-30  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/tst-setcontext.c: Include unistd.h.
Diffstat (limited to 'stdlib/tst-setcontext.c')
-rw-r--r--stdlib/tst-setcontext.c3
1 files changed, 2 insertions, 1 deletions
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];