diff options
-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. */ |