summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-14 16:43:24 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-14 16:44:27 -0700
commit1ec79f2673f862a3b3b2e83aec8fb56b78db4a87 (patch)
tree901a86e852eb8f671fe9cc9d9ab4b679e663c798
parent5908bf46622af30231acd2fa3b4a54130f3c9095 (diff)
downloadglibc-1ec79f2673f862a3b3b2e83aec8fb56b78db4a87.tar.gz
Add a missing #include.
-rw-r--r--ChangeLog1
-rw-r--r--elf/dl-lookup.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2663b9caeb..9f23a23175 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2012-08-14 Roland McGrath <roland@hack.frob.com>
* elf/dl-open.c: Include <atomic.h>.
+ * elf/dl-lookup.c: Likewise.
2012-08-14 Joseph Myers <joseph@codesourcery.com>
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c
index a2a699b48f..e7f7148381 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -1,5 +1,5 @@
/* Look up a symbol in the loaded objects.
- Copyright (C) 1995-2007, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1995-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,6 +27,7 @@
#include <sysdep-cancel.h>
#include <bits/libc-lock.h>
#include <tls.h>
+#include <atomic.h>
#include <assert.h>