aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2018-11-26 17:00:04 +0100
committerGitHub <noreply@github.com>2018-11-26 17:00:04 +0100
commitabcb7d7aad594cca0049ae7b2a2fe2a61432e0cd (patch)
tree88508fe65bf89c77dc43c830a1911ead5bfa8f7c
parent2fa85f595593f2866e111df38cdea9f4857d0a21 (diff)
parent24f8f79350725f1b75e550c85246288506365a13 (diff)
downloadlanes-abcb7d7aad594cca0049ae7b2a2fe2a61432e0cd.tar.gz
lanes-abcb7d7aad594cca0049ae7b2a2fe2a61432e0cd.tar.bz2
lanes-abcb7d7aad594cca0049ae7b2a2fe2a61432e0cd.zip
Merge pull request #166 from eligovision/lanes_linux_linking
'Linking error while embedding Lanes' on Linux fix
-rw-r--r--src/threading.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/threading.c b/src/threading.c
index 7b75986..ffd063f 100644
--- a/src/threading.c
+++ b/src/threading.c
@@ -34,6 +34,10 @@ THE SOFTWARE.
34 34
35=============================================================================== 35===============================================================================
36*/ 36*/
37#if defined(__linux__)
38# define _GNU_SOURCE /* must be defined before any include */
39#endif
40
37#include <stdio.h> 41#include <stdio.h>
38#include <stdlib.h> 42#include <stdlib.h>
39#include <assert.h> 43#include <assert.h>