summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authoreska <eska@eska.me>2016-01-09 15:56:31 +0100
committereska <eska@eska.me>2016-01-09 15:56:31 +0100
commita6c1a5c6d0a1fd92fff3e499ce44ee4b0c5d1db3 (patch)
tree741aaa29d28a3d7578554a32fddca4fa66613250 /platform/x11
parent9e143a52ba93243da55d425bd5dd3b9110d6bc2e (diff)
Fix pthread renaming in Open/FreeBSD
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/platform_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/platform_config.h b/platform/x11/platform_config.h
index 5a333f4a0d..aac50c27c2 100644
--- a/platform/x11/platform_config.h
+++ b/platform/x11/platform_config.h
@@ -31,6 +31,7 @@
#endif
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <stdlib.h>
+#define PTHREAD_BSD_SET_NAME
#endif
#define GLES2_INCLUDE_H "gl_context/glew.h"