aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-14 16:04:29 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-14 16:04:29 -0700
commit5908bf46622af30231acd2fa3b4a54130f3c9095 (patch)
treefcf899e7e13f59e6cffc3a46f899d5194dcc9b99
parentf2c05b9ecf4493d2b25c25fcd75aed0ec60cc473 (diff)
downloadglibc-5908bf46622af30231acd2fa3b4a54130f3c9095.zip
glibc-5908bf46622af30231acd2fa3b4a54130f3c9095.tar.gz
glibc-5908bf46622af30231acd2fa3b4a54130f3c9095.tar.bz2
Add a missing #include.
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-open.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b890bcf..2663b9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-14 Roland McGrath <roland@hack.frob.com>
+
+ * elf/dl-open.c: Include <atomic.h>.
+
2012-08-14 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/kernel-features.h
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 00781af..0bc447a 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -1,5 +1,5 @@
/* Load a shared object at runtime, relocate it, and run its initializer.
- Copyright (C) 1996-2007, 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 1996-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
@@ -33,6 +33,7 @@
#include <sysdep-cancel.h>
#include <tls.h>
#include <stap-probe.h>
+#include <atomic.h>
#include <dl-dst.h>