aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin S. Matveyev <root@zorro.ev>2018-11-26 18:53:39 +0300
committerKonstantin S. Matveyev <root@zorro.ev>2018-11-26 18:53:39 +0300
commit24f8f79350725f1b75e550c85246288506365a13 (patch)
tree2614abc6e94be7c10b777ee93e7c8909c4148ad9 /src
parentcede738575ec01a7bbd3559a1c564609b949bebf (diff)
downloadlanes-24f8f79350725f1b75e550c85246288506365a13.tar.gz
lanes-24f8f79350725f1b75e550c85246288506365a13.tar.bz2
lanes-24f8f79350725f1b75e550c85246288506365a13.zip
'Linking error while embedding Lanes' on Linux fix simplified
Diffstat (limited to 'src')
-rw-r--r--src/threading.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/threading.c b/src/threading.c
index d5c127f..9aa04af 100644
--- a/src/threading.c
+++ b/src/threading.c
@@ -34,10 +34,8 @@ THE SOFTWARE.
34 34
35=============================================================================== 35===============================================================================
36*/ 36*/
37#include "platform.h" 37#if defined(__linux__)
38#if defined(PLATFORM_LINUX) 38# define _GNU_SOURCE /* must be defined before any include */
39# define _GNU_SOURCE /* must be defined before <sched.h> */
40# include <sched.h>
41#endif 39#endif
42 40
43#include <stdio.h> 41#include <stdio.h>