Просмотр исходного кода

Use the correct include for pthread_self() on the Hurd. (#129)

Jordi Mallach 9 лет назад
Родитель
Сommit
eaf552ed32
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/bx/os.h

+ 1 - 1
include/bx/os.h

@@ -49,7 +49,7 @@
 #	elif BX_PLATFORM_OSX
 #	elif BX_PLATFORM_OSX
 #		include <mach/mach.h> // mach_task_basic_info
 #		include <mach/mach.h> // mach_task_basic_info
 #	elif BX_PLATFORM_HURD
 #	elif BX_PLATFORM_HURD
-#		include <unistd.h> // getpid
+#		include <pthread/pthread.h> // pthread_self
 #	elif BX_PLATFORM_ANDROID
 #	elif BX_PLATFORM_ANDROID
 #		include "debug.h" // getTid is not implemented...
 #		include "debug.h" // getTid is not implemented...
 #	endif // BX_PLATFORM_ANDROID
 #	endif // BX_PLATFORM_ANDROID