summaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/compat.h b/include/compat.h
index fa75cd754..9302c573f 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -106,9 +106,11 @@
*/
#if defined _WIN32
# include "inspircd_win32wrapper.h"
+# include "threadengines/threadengine_win32.h"
#else
-# include <unistd.h>
# define ENTRYPOINT int main(int argc, char** argv)
# define DllExport __attribute__ ((visibility ("default")))
# define CoreExport __attribute__ ((visibility ("default")))
+# include <unistd.h>
+# include "threadengines/threadengine_pthread.h"
#endif