[git commit nptl] x86_64: add missing includes to sem_*.S

Austin Foxley austinf at cetoncorp.com
Wed Dec 16 11:07:43 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=11cd655429ca1f7e8b3e851e489e51d5d19e0f78
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 .../sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S |    2 ++
 .../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
index e5fbf8e..64e1680 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
@@ -19,6 +19,8 @@
 
 #include <sysdep.h>
 #include <pthread-errnos.h>
+#include <tcb-offsets.h>
+#include <tls.h>
 
 #ifndef UP
 # define LOCK lock
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S
index 32c24e8..c2f94d4 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S
@@ -19,6 +19,8 @@
 
 #include <sysdep.h>
 #include <pthread-errnos.h>
+#include <tcb-offsets.h>
+#include <tls.h>
 
 #ifndef UP
 # define LOCK lock
-- 
1.6.3.3



More information about the uClibc-cvs mailing list