aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-02-24 19:58:17 +0000
committerJeff Johnston <jjohnstn@redhat.com>2010-02-24 19:58:17 +0000
commitba7b214766091547ee5769d0f6b1bd92a4fdec50 (patch)
tree7ef60656ac73d1e64997e157ddc90028464c6cb1
parentbe71be8e18a85fc275cc7193029124d79b8a077e (diff)
downloadnewlib-ba7b214766091547ee5769d0f6b1bd92a4fdec50.zip
newlib-ba7b214766091547ee5769d0f6b1bd92a4fdec50.tar.gz
newlib-ba7b214766091547ee5769d0f6b1bd92a4fdec50.tar.bz2
2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/__call_exit.c: Add include of sys/lock.h.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdlib/__call_atexit.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index c860746..7757769 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 1e2a9f5..5365f32 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. */