summaryrefslogtreecommitdiff
path: root/include/c11/threads_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c11/threads_posix.h')
-rw-r--r--include/c11/threads_posix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/c11/threads_posix.h b/include/c11/threads_posix.h
index 7e96715c248..f9c165df4e0 100644
--- a/include/c11/threads_posix.h
+++ b/include/c11/threads_posix.h
@@ -27,7 +27,9 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <stdlib.h>
+#ifndef assert
#include <assert.h>
+#endif
#include <limits.h>
#include <errno.h>
#include <unistd.h>