diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2010-02-24 22:58:17 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2010-02-24 22:58:17 +0300 |
commit | ba7b214766091547ee5769d0f6b1bd92a4fdec50 (patch) | |
tree | 7ef60656ac73d1e64997e157ddc90028464c6cb1 /newlib | |
parent | be71be8e18a85fc275cc7193029124d79b8a077e (diff) |
2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/__call_exit.c: Add include of sys/lock.h.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/__call_atexit.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index c86074647..7757769a0 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2010-02-24 Jeff Johnston <jjohnstn@redhat.com> + + * libc/stdlib/__call_exit.c: Add include of sys/lock.h. + 2010-02-23 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/types.h: Fix __XMK__ sectioning and remove diff --git a/newlib/libc/stdlib/__call_atexit.c b/newlib/libc/stdlib/__call_atexit.c index 1e2a9f5fa..5365f32e9 100644 --- a/newlib/libc/stdlib/__call_atexit.c +++ b/newlib/libc/stdlib/__call_atexit.c @@ -5,6 +5,7 @@ #include <stdlib.h> #include <reent.h> +#include <sys/lock.h> #include "atexit.h" /* Make this a weak reference to avoid pulling in free. */ |