From ba7b214766091547ee5769d0f6b1bd92a4fdec50 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 24 Feb 2010 19:58:17 +0000 Subject: [PATCH] 2010-02-24 Jeff Johnston * libc/stdlib/__call_exit.c: Add include of sys/lock.h. --- newlib/ChangeLog | 4 ++++ newlib/libc/stdlib/__call_atexit.c | 1 + 2 files changed, 5 insertions(+) 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 + + * libc/stdlib/__call_exit.c: Add include of sys/lock.h. + 2010-02-23 Jeff Johnston * 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 #include +#include #include "atexit.h" /* Make this a weak reference to avoid pulling in free. */