summaryrefslogtreecommitdiffstats
path: root/newlib/libc
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 /newlib/libc
parentbe71be8e18a85fc275cc7193029124d79b8a077e (diff)
downloadcygnal-ba7b214766091547ee5769d0f6b1bd92a4fdec50.tar.gz
cygnal-ba7b214766091547ee5769d0f6b1bd92a4fdec50.tar.bz2
cygnal-ba7b214766091547ee5769d0f6b1bd92a4fdec50.zip
2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/__call_exit.c: Add include of sys/lock.h.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/stdlib/__call_atexit.c1
1 files changed, 1 insertions, 0 deletions
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. */