浏览代码

x86_64: add missing includes to sem_*.S

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 年之前
父节点
当前提交
11cd655429

+ 2 - 0
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

+ 2 - 0
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