summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_pspinlock.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-01 15:21:23 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-01 15:21:23 +0000
commitbe47cc4f82745bb02051fd1b4cf464d698710177 (patch)
tree15ea00296ffbd4e5690b9d0de465472d8ba57561 /lib/libpthread/thread/thr_pspinlock.c
parentd33cea825e150007867f146fc2408e53794b2796 (diff)
downloadFreeBSD-src-be47cc4f82745bb02051fd1b4cf464d698710177.zip
FreeBSD-src-be47cc4f82745bb02051fd1b4cf464d698710177.tar.gz
Include needed headers that were obtained through <pthread.h>. Sort headers
while here.
Diffstat (limited to 'lib/libpthread/thread/thr_pspinlock.c')
-rw-r--r--lib/libpthread/thread/thr_pspinlock.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_pspinlock.c b/lib/libpthread/thread/thr_pspinlock.c
index b58d712..de555bf 100644
--- a/lib/libpthread/thread/thr_pspinlock.c
+++ b/lib/libpthread/thread/thr_pspinlock.c
@@ -26,10 +26,13 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <errno.h>
-#include <stdlib.h>
#include <pthread.h>
-#include <atomic_ops.h>
+#include <stdint.h>
+#include <stdlib.h>
+
+#include "atomic_ops.h"
#include "thr_private.h"
#define SPIN_COUNT 10000
OpenPOWER on IntegriCloud