From 6636e9c8e8dccc76c102eef4f3eba87768ff0306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Thu, 27 Feb 2014 15:20:45 +0100 Subject: [PATCH] native/posix: Don't include sys/types.h in sem `sys/types.h` contains the native definition for `pthread_*_t`. This causes clashes if you want to use `semaphore` and `pthread` in the same application. --- sys/include/semaphore.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/include/semaphore.h b/sys/include/semaphore.h index 599bec5de0..60414ff59b 100644 --- a/sys/include/semaphore.h +++ b/sys/include/semaphore.h @@ -1,7 +1,6 @@ #ifndef _SEMAPHORE_H #define _SEMAPHORE_H 1 -#include #include /** Value returned if `sem_open' failed. */