diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-24 15:45:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-24 15:45:42 +0000 |
commit | 68e6f0cc317267ace9febb1cd212431bb5d5ffe5 (patch) | |
tree | bd8581c7ef502d104df4974a7eb74ecf0cce2fd5 /testsuites | |
parent | Move %{?dist} into BINUTILS_RPMREL. (diff) | |
download | rtems-68e6f0cc317267ace9febb1cd212431bb5d5ffe5.tar.bz2 |
2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Add include of unistd.h for sleep() prototype.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/samples/nsecs/init.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index b3e45519e7..7542d0cd96 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,7 @@ +2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com> + + * nsecs/init.c: Add include of unistd.h for sleep() prototype. + 2007-07-17 Joel Sherrill <joel.sherrill@oarcorp.com> * nsecs/Makefile.am, nsecs/init.c: Move empty body to another file. The diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c index eeffdefd42..3909b03c73 100644 --- a/testsuites/samples/nsecs/init.c +++ b/testsuites/samples/nsecs/init.c @@ -19,6 +19,7 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> +#include <unistd.h> #include <sys/time.h> #include <rtems/score/timespec.h> /* _Timespec_Substract */ |