kernel/OS.h: Include sys/types.h instead of pthread.h.

This avoids polluting the namespace significantly. Also adjust
all files which depended on this behavior to include pthread.h
directly.
This commit is contained in:
Augustin Cavalier
2019-04-12 15:26:25 -04:00
parent 53830ab75a
commit f1fafe317f
9 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2004-2009, Haiku Inc. All Rights Reserved.
* Copyright 2004-2019, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _OS_H
@@ -7,7 +7,7 @@
/** Kernel specific structures and functions */
#include <pthread.h>
#include <sys/types.h>
#include <stdarg.h>
#include <SupportDefs.h>