Add an OpenBSD check
authorRafael Sadowski <rafael@sizeofvoid.org>
Sun, 4 Oct 2020 18:43:07 +0000 (20:43 +0200)
committerRafael Sadowski <rafael@sizeofvoid.org>
Mon, 5 Oct 2020 06:23:23 +0000 (08:23 +0200)
modules/core/src/parallel.cpp

index 23f8a98..9ac7d3e 100644 (file)
@@ -54,7 +54,8 @@
 #endif
 
 #if defined __linux__ || defined __APPLE__ || defined __GLIBC__ \
-    || defined __HAIKU__ || defined __EMSCRIPTEN__ || defined __FreeBSD__
+    || defined __HAIKU__ || defined __EMSCRIPTEN__ || defined __FreeBSD__ \
+    || defined __OpenBSD__
     #include <unistd.h>
     #include <stdio.h>
     #include <sys/types.h>