summaryrefslogtreecommitdiff
path: root/media-sound/lash/files/lash-0.5.4-glibc2.8.patch
blob: 578df171a4627dbd46a3e7cfd32417b63b858929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/liblash/socket.c b/liblash/socket.c
index b6e1b25..91caf0f 100644
--- a/liblash/socket.c
+++ b/liblash/socket.c
@@ -20,6 +20,11 @@
 
 #define _POSIX_SOURCE /* addrinfo */
 
+#ifdef LASH_BUILD
+#define _GNU_SOURCE
+#include "config.h"
+#endif /* LASH_BUILD */
+
 #include <stdint.h>
 #include <sys/types.h>
 #include <sys/socket.h>